From 7ca2c44a5e07b9913108eecd2bf20a548f45c551 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 11 Sep 2020 21:30:04 -0400 Subject: [PATCH] fix downvote spoiler regression --- assets/js/interactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/interactions.js b/assets/js/interactions.js index b5d8e054..8ff2bd32 100644 --- a/assets/js/interactions.js +++ b/assets/js/interactions.js @@ -100,7 +100,7 @@ function loadInteractions() { /* Next part is only for image index pages * TODO: find a better way to do this */ - if (!document.getElementById('imagelist_container')) return; + if (!document.getElementById('imagelist-container')) return; /* Users will blind downvote without this */ window.booru.imagesWithDownvotingDisabled.forEach(i => {