aboutsummaryrefslogtreecommitdiff
path: root/chrome/js/redirector-ui.js
diff options
context:
space:
mode:
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});