aboutsummaryrefslogtreecommitdiff
path: root/chrome/content/redirectList.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/content/redirectList.js')
-rw-r--r--chrome/content/redirectList.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/content/redirectList.js b/chrome/content/redirectList.js
index 5da5ed8..1e61067 100644
--- a/chrome/content/redirectList.js
+++ b/chrome/content/redirectList.js
@@ -99,10 +99,10 @@ var RedirectList = {
},
selectionChange : function() {
- var index = this.lstRedirects.selectedIndex;
+ var index = $('lstRedirects').selectedIndex;
- this.btnEdit.disabled = (index == -1);
- this.btnDelete.disabled = (index == -1);
+ $('btnEdit').disabled = (index == -1);
+ $('btnDelete').disabled = (index == -1);
}
};