summaryrefslogtreecommitdiffstats
path: root/assets/js/watched_widget.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/watched_widget.js')
-rw-r--r--assets/js/watched_widget.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/js/watched_widget.js b/assets/js/watched_widget.js
index 1e88fa27..ba741974 100644
--- a/assets/js/watched_widget.js
+++ b/assets/js/watched_widget.js
@@ -1,3 +1,5 @@
+var watched_data = JSON.parse(document.getElementById('watched_data').innerHTML);
+
function mark_watched(target) {
var tile = target.parentNode.parentNode.parentNode.parentNode.parentNode;
tile.style.display = 'none';