thread-watcher.js: add support for new ui

This commit is contained in:
Zankaria 2024-10-01 01:14:31 +02:00
parent 0295f3e686
commit 8d7535b2a3

View file

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