summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/js/hyperkitty.js
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/static/js/hyperkitty.js')
-rw-r--r--hyperkitty/static/js/hyperkitty.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyperkitty/static/js/hyperkitty.js b/hyperkitty/static/js/hyperkitty.js
index 5371657..33aa2a6 100644
--- a/hyperkitty/static/js/hyperkitty.js
+++ b/hyperkitty/static/js/hyperkitty.js
@@ -108,7 +108,7 @@ function setup_favorites() {
}).trigger("change");
$(".favorite a").bind("click", function(e) {
e.preventDefault();
- if ($(elem).hasClass("disabled")) {
+ if ($(this).hasClass("disabled")) {
return;
}
var form = $(this).parents("form").first();