diff --git a/pentadactyl/content/config.js b/pentadactyl/content/config.js index 62ae3321..211969f0 100644 --- a/pentadactyl/content/config.js +++ b/pentadactyl/content/config.js @@ -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); }