mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 04:47:57 +01:00
Add canceled property to DOM instances. Remove stray util.haveGecko call.
This commit is contained in:
@@ -294,7 +294,7 @@ var MOW = Module("mow", {
|
||||
if (!value && elem && elem.contentWindow == document.commandDispatcher.focusedWindow) {
|
||||
|
||||
let focused = content.document.activeElement;
|
||||
if (Events.isInputElement(focused))
|
||||
if (focused && Events.isInputElement(focused))
|
||||
focused.blur();
|
||||
|
||||
document.commandDispatcher.focusedWindow = content;
|
||||
|
||||
Reference in New Issue
Block a user