summaryrefslogtreecommitdiff
path: root/js/thread-watcher.js
diff options
context:
space:
mode:
authorPashe <pashe@users.noreply.github.com>2014-10-19 21:30:59 -0500
committerczaks <marcin@6irc.net>2016-05-05 13:00:33 +0200
commit6f301505e33c42a37fbc7159f3144f41922c7dc6 (patch)
tree773a6f89f25e62da2d9a492074c5c0975fb25298 /js/thread-watcher.js
parent0b1c67574adc0bab830d0929539ad87a813251f3 (diff)
thread-watcher.js: change display format
Diffstat (limited to 'js/thread-watcher.js')
-rw-r--r--js/thread-watcher.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/thread-watcher.js b/js/thread-watcher.js
index 22656e48..52b8142e 100644
--- a/js/thread-watcher.js
+++ b/js/thread-watcher.js
@@ -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>&nbsp' +
- '<span>Thread: '+'<a href="'+e[3]+'">'+e[1]+'</a></span>&nbsp' +
- '<span>Replies: '+e[2]+'</span>&nbsp' +
- '<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) {