Browse Source

Move [Watch Thread] button before replies

pull/40/head
discomrade 3 years ago
parent
commit
aeecbb6545
  1. 8
      js/thread-watcher.js

8
js/thread-watcher.js

@ -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();

Loading…
Cancel
Save