thread-watcher.js: change display format
This commit is contained in:
parent
0b1c67574a
commit
6f301505e3
@ -28,10 +28,10 @@ watchlist.render = function(reset) {
|
|||||||
JSON.parse(localStorage.watchlist).forEach(function(e, i) {
|
JSON.parse(localStorage.watchlist).forEach(function(e, i) {
|
||||||
//look at line 69, that's what (e) is here.
|
//look at line 69, that's what (e) is here.
|
||||||
threads.push('<div class="watchlist-inner" id="watchlist-'+i+'">' +
|
threads.push('<div class="watchlist-inner" id="watchlist-'+i+'">' +
|
||||||
'<span>Board: '+e[0]+'</span> ' +
|
'<span>/'+e[0]+'/ - ' +
|
||||||
'<span>Thread: '+'<a href="'+e[3]+'">'+e[1]+'</a></span> ' +
|
'<a href="'+e[3]+'">'+e[1].replace("thread_", "Thread #")+'</a>' +
|
||||||
'<span>Replies: '+e[2]+'</span> ' +
|
' ('+e[2]+') </span>' +
|
||||||
'<a class="watchlist-remove">[Unwatch]</a>'+
|
'<a class="watchlist-remove">X</a>'+
|
||||||
'</div>');
|
'</div>');
|
||||||
});
|
});
|
||||||
if ($('#watchlist').length) {
|
if ($('#watchlist').length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user