From 4c858fbaf7820fcbbf12d7e69d16e8689f78debf Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Sat, 7 Jan 2012 22:51:28 +0100 Subject: Fix config screen --- chrome/js/redirector-ui.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/js') diff --git a/chrome/js/redirector-ui.js b/chrome/js/redirector-ui.js index 30af176..53b8892 100644 --- a/chrome/js/redirector-ui.js +++ b/chrome/js/redirector-ui.js @@ -238,6 +238,12 @@ $(document).ready(function() { $('#configure').click(configure); $('#save').click(saveRedirect); $('#test-pattern').click(testPattern); + $('#close').click(function() { + $('#config').hide(); + }); + $('#help').click(function() { + window.location.href = "chrome://redirector/content/help.html"; + }); bindConfig(); prefs.addListener({ changedPrefs:bindConfig}); -- cgit v1.2.3-70-g09d2