mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 10:34:13 +01:00
Fix bad module reference in relocated config.js. Closes issue #220.
This commit is contained in:
@@ -83,7 +83,7 @@ var Config = Module("config", ConfigBase, {
|
|||||||
if (this.tabbrowser.mTabs.length > 1)
|
if (this.tabbrowser.mTabs.length > 1)
|
||||||
this.tabbrowser.removeTab(tab);
|
this.tabbrowser.removeTab(tab);
|
||||||
else {
|
else {
|
||||||
if (buffer.URL != "about:blank" || window.getWebNavigation().sessionHistory.count > 0) {
|
if (modules.buffer.URL != "about:blank" || window.getWebNavigation().sessionHistory.count > 0) {
|
||||||
dactyl.open("about:blank", dactyl.NEW_BACKGROUND_TAB);
|
dactyl.open("about:blank", dactyl.NEW_BACKGROUND_TAB);
|
||||||
this.tabbrowser.removeTab(tab);
|
this.tabbrowser.removeTab(tab);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user