This script was breaking boards.html

This commit is contained in:
8chan 2014-11-08 16:58:02 -08:00 committed by czaks
parent 01446aad12
commit fd2e9df30c

View File

@ -142,6 +142,10 @@ watchlist.exists = function(sel) {
};
$(document).ready(function(){
if (!(active_page == 'thread' || active_page == 'index')) {
return;
}
//Append the watchlist toggle button.
$('.boardlist').append('<span>[ <a id="watchlist-toggle">watchlist</a> ]</span>');
//Append a watch thread button after every OP.