This script was breaking boards.html
This commit is contained in:
parent
01446aad12
commit
fd2e9df30c
@ -142,6 +142,10 @@ watchlist.exists = function(sel) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
if (!(active_page == 'thread' || active_page == 'index')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//Append the watchlist toggle button.
|
//Append the watchlist toggle button.
|
||||||
$('.boardlist').append('<span>[ <a id="watchlist-toggle">watchlist</a> ]</span>');
|
$('.boardlist').append('<span>[ <a id="watchlist-toggle">watchlist</a> ]</span>');
|
||||||
//Append a watch thread button after every OP.
|
//Append a watch thread button after every OP.
|
||||||
|
Loading…
Reference in New Issue
Block a user