1
0
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:
Kris Maglione
2014-08-14 20:08:05 -07:00
parent 5e422f7b73
commit 54568d5f82
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {