Node.js based forum software built for the modern web
removed debug comments
Julian Lam9bf8739841bd
diff --git a/public/src/forum/admin/topics.js b/public/src/forum/admin/topics.jsindex aebdb8e1c8..3630d7701e 100644--- a/public/src/forum/admin/topics.js+++ b/public/src/forum/admin/topics.js@@ -43,9 +43,9 @@ $(document).ready(function() {if (topicEls[x].getAttribute('data-pinned') === '1') topicEls[x].querySelector('[data-action="pin"]').className += ' active';if (topicEls[x].getAttribute('data-locked') === '1') topicEls[x].querySelector('[data-action="lock"]').className += ' active';if (topicEls[x].getAttribute('data-deleted') === '1') topicEls[x].querySelector('[data-action="delete"]').className += ' active';- // topicEls[x].removeAttribute('data-pinned');- // topicEls[x].removeAttribute('data-locked');- // topicEls[x].removeAttribute('data-deleted');+ topicEls[x].removeAttribute('data-pinned');+ topicEls[x].removeAttribute('data-locked');+ topicEls[x].removeAttribute('data-deleted');}});