Skip to content
Snippets Groups Projects
Commit 76c5726c authored by Jordan Hofker's avatar Jordan Hofker
Browse files

Check before calling blur on activeElement.

It's possible for slides to be in a situation where the last clicked thing was an SVG before the tab/window loses focus. When returning, `.blur()` is called on the previously-active element, but can result in an exception.

This protects against that and will only call `.blur()` when `document.activeElement` supports it.
parent ce8ea843
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment