mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 03:32:32 +02:00
Fix bad module reference in relocated config.js. Closes issue #220.
This commit is contained in:
1 parent
cb97f1cd25
commit
8d8df1e53e
1 file changed
+1
-1
@@ -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