Move [Watch Thread] button before replies

This commit is contained in:
discomrade 2021-09-28 09:39:12 +00:00
parent c35c6a5dbe
commit cb280cd5e0

View File

@ -149,10 +149,10 @@ $(document).ready(function(){
}
//Append the watchlist toggle button.
$('.boardlist').append('<span>[ <a class="watchlist-toggle" href="#">'+_('watchlist')+'</a> ]</span>');
$('.compact-boardlist').append('<span>[ <a class="watchlist-toggle" href="#">'+_('watchlist')+'</a> ]</span>');
//Append a watch thread button after every OP.
$('.op>.intro').append('<a class="watchThread" href="#">['+_('Watch Thread')+']</a>');
$('.boardlist').append('<a class="watchlist-toggle" style="float:right;" href="#">['+_('Watchlist')+']</a>');
$('.compact-boardlist').append('<a class="watchlist-toggle" style="float:right;" href="#">['+_('Watchlist')+']</a>');
//Append a watch thread button after every OP post number.
$('.op>.intro>.post_no:odd').after('<a class="watchThread" href="#">['+_('Watch Thread')+']</a>');
//Draw the watchlist, hidden.
watchlist.render();