1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 03:34:12 +01:00

Fix bad module reference in relocated config.js. Closes issue #220.

This commit is contained in:
Kris Maglione
2010-12-29 22:28:56 -05:00
parent cb97f1cd25
commit 8d8df1e53e

View File

@@ -83,7 +83,7 @@ var Config = Module("config", ConfigBase, {
if (this.tabbrowser.mTabs.length > 1)
this.tabbrowser.removeTab(tab);
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);
this.tabbrowser.removeTab(tab);
}