1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 23:14:13 +01:00

Fix some issues with magically toolbarless popups.

Update issue 148
This fixes some particular issues with these types of popups, but I
no longer see the original problem (though window.content is
certainly still null).
This commit is contained in:
Kris Maglione
2011-01-13 23:55:51 -05:00
parent 3e4fa31139
commit 7a023373bf
2 changed files with 11 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ var CommandWidgets = Class("CommandWidgets", {
return this.statusbar;
let statusElem = this.statusbar.message;
if (value && statusElem.editor.rootElement.scrollWidth > statusElem.scrollWidth)
if (value && statusElem.editor && statusElem.editor.rootElement.scrollWidth > statusElem.scrollWidth)
return this.commandbar;
return this.activeGroup.mode;
}