summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static/js/hyperkitty.js
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-13 15:23:01 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-13 15:23:01 +0100
commit0e96a34e0d54b06c79750afafc503a3444bcddfd (patch)
tree8b4cb3052d39e604034a3b1fbab0df09aba5dab3 /hyperkitty/static/js/hyperkitty.js
parentb6f2010cda2bac09a96d336e0150dbb414959e4b (diff)
downloadhyperkitty-0e96a34e0d54b06c79750afafc503a3444bcddfd.tar.gz
hyperkitty-0e96a34e0d54b06c79750afafc503a3444bcddfd.tar.xz
hyperkitty-0e96a34e0d54b06c79750afafc503a3444bcddfd.zip
Fix JS error in favorites
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();