aboutsummaryrefslogtreecommitdiff
path: root/chrome/js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/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});