mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-14 10:57:38 +01:00
Update thread-watcher.js
A watch thread button is now placed before reply button so citation links don't go between them.
This commit is contained in:
parent
d5ee60009f
commit
7aeac11460
@ -150,8 +150,8 @@ $(document).ready(function(){
|
|||||||
|
|
||||||
//Append the watchlist toggle button.
|
//Append the watchlist toggle button.
|
||||||
$('.boardlist').append('<span>[ <a class="watchlist-toggle" href="#">'+_('watchlist')+'</a> ]</span>');
|
$('.boardlist').append('<span>[ <a class="watchlist-toggle" href="#">'+_('watchlist')+'</a> ]</span>');
|
||||||
//Append a watch thread button after every OP.
|
//Append a watch thread button after every OP post number.
|
||||||
$('.op>.intro').append('<a class="watchThread" href="#">['+_('Watch Thread')+']</a>');
|
$('.op>.intro>.post_no:odd').after('<a class="watchThread" href="#">['+_('Watch Thread')+']</a>');
|
||||||
|
|
||||||
//Draw the watchlist, hidden.
|
//Draw the watchlist, hidden.
|
||||||
watchlist.render();
|
watchlist.render();
|
||||||
|
Loading…
Reference in New Issue
Block a user