From 8d8df1e53ee5d41a594129670b31250ca2eaea9a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 29 Dec 2010 22:28:56 -0500 Subject: [PATCH] Fix bad module reference in relocated config.js. Closes issue #220. --- pentadactyl/content/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }