mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 16:47:59 +01:00
Fix cross-compartment instanceof issues.
--HG-- extra : rebase_source : 9145412ce33e18bae5d889454fd1ff98c4067d09
This commit is contained in:
@@ -600,7 +600,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
if (win.frameElement)
|
||||
win.frameElement.blur();
|
||||
// Grr.
|
||||
if (content.document.activeElement instanceof HTMLIFrameElement)
|
||||
if (content.document.activeElement instanceof Ci.nsIDOMHTMLIFrameElement)
|
||||
content.document.activeElement.blur();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user