summaryrefslogtreecommitdiff
path: root/static/js/fullscreen.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/fullscreen.js')
-rw-r--r--static/js/fullscreen.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/js/fullscreen.js b/static/js/fullscreen.js
index 0f54102..808c138 100644
--- a/static/js/fullscreen.js
+++ b/static/js/fullscreen.js
@@ -40,11 +40,13 @@ function clickImage(img) {
$('#fav-indicator').show();
Tag.add(msg_id, "favorite");
$(img).addClass("fullscreen-favorite");
+ track('UI', 'FullscreenFav');
} else {
delete FavedMap[msg_id];
$('#fav-indicator').hide();
Tag.rm(msg_id, "favorite");
$(img).removeClass("fullscreen-favorite");
+ track('UI', 'FullscreenDeFav');
}
}