From 8fb65cf8aeaaf66636698310c0168929fc1a2ce0 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Thu, 1 Sep 2011 21:33:28 +0200 Subject: Better pref handling --- chrome/code/browserOverlay.xul.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/code/browserOverlay.xul.js') diff --git a/chrome/code/browserOverlay.xul.js b/chrome/code/browserOverlay.xul.js index 146e073..20ff5c6 100644 --- a/chrome/code/browserOverlay.xul.js +++ b/chrome/code/browserOverlay.xul.js @@ -16,7 +16,7 @@ var RedirectorOverlay = { this.strings = document.getElementById("redirector-strings"); this.prefs = new RedirectorPrefs(); this.changedPrefs(this.prefs); - this.prefs.addListener(this); + this.prefs.addListener(this); document.addEventListener('keypress', function(event) { if ((event.charCode == 114) && event.altKey) { //alt+r RedirectorOverlay.toggleEnabled(); -- cgit v1.2.3-70-g09d2