1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +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:
roIyat 2017-07-30 02:57:39 +02:00 committed by GitHub
parent d5ee60009f
commit 7aeac11460

View File

@ -150,8 +150,8 @@ $(document).ready(function(){
//Append the watchlist toggle button.
$('.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>');
//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();