mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 06:54:11 +01:00
Fix styling of help pages on first run.
This commit is contained in:
@@ -81,7 +81,7 @@ var Browser = Module("browser", XPCOM(Ci.nsISupportsWeakReference, ModuleBase),
|
||||
// page is loaded in a background tab
|
||||
load: function onLoad(event) {
|
||||
let doc = event.originalTarget;
|
||||
if (doc instanceof Document)
|
||||
if (doc instanceof Ci.nsIDOMDocument)
|
||||
dactyl.initDocument(doc);
|
||||
|
||||
if (doc instanceof Ci.nsIDOMHTMLDocument) {
|
||||
|
||||
Reference in New Issue
Block a user