aboutsummaryrefslogtreecommitdiff
path: root/chrome/js/redirector-ui.js
diff options
context:
space:
mode:
authorEinar Egilsson2012-01-07 22:51:28 +0100
committerEinar Egilsson2012-01-07 22:51:28 +0100
commit4c858fbaf7820fcbbf12d7e69d16e8689f78debf (patch)
tree8cdaa90ceaffeb5d84437eab2ec51b375acacf93 /chrome/js/redirector-ui.js
parenta6ad02719937752409211db0d410eb125672837d (diff)
Fix config screen
Diffstat (limited to 'chrome/js/redirector-ui.js')
-rw-r--r--chrome/js/redirector-ui.js6
1 files changed, 6 insertions, 0 deletions
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});