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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user