mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 07:50:23 +01:00
thread-watcher.js: change display format
This commit is contained in:
parent
c80d6fda3c
commit
8564f23caa
@ -28,10 +28,10 @@ watchlist.render = function(reset) {
|
||||
JSON.parse(localStorage.watchlist).forEach(function(e, i) {
|
||||
//look at line 69, that's what (e) is here.
|
||||
threads.push('<div class="watchlist-inner" id="watchlist-'+i+'">' +
|
||||
'<span>Board: '+e[0]+'</span> ' +
|
||||
'<span>Thread: '+'<a href="'+e[3]+'">'+e[1]+'</a></span> ' +
|
||||
'<span>Replies: '+e[2]+'</span> ' +
|
||||
'<a class="watchlist-remove">[Unwatch]</a>'+
|
||||
'<span>/'+e[0]+'/ - ' +
|
||||
'<a href="'+e[3]+'">'+e[1].replace("thread_", "Thread #")+'</a>' +
|
||||
' ('+e[2]+') </span>' +
|
||||
'<a class="watchlist-remove">X</a>'+
|
||||
'</div>');
|
||||
});
|
||||
if ($('#watchlist').length) {
|
||||
|
Loading…
Reference in New Issue
Block a user