1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 14:35:45 +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) {

View File

@@ -454,7 +454,7 @@ var ConfigBase = Class("ConfigBase", {
if (this.helpStyles.test(k))
highlight.loaded[k] = true;
}
this.helpCSS = true;
this.helpStyled = true;
},
Local: function Local(dactyl, modules, { document, window }) ({