diff options
| author | Pashe <pashe@users.noreply.github.com> | 2014-10-19 21:30:59 -0500 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 13:00:33 +0200 |
| commit | 6f301505e33c42a37fbc7159f3144f41922c7dc6 (patch) | |
| tree | 773a6f89f25e62da2d9a492074c5c0975fb25298 /js/thread-watcher.js | |
| parent | 0b1c67574adc0bab830d0929539ad87a813251f3 (diff) | |
thread-watcher.js: change display format
Diffstat (limited to 'js/thread-watcher.js')
| -rw-r--r-- | js/thread-watcher.js | 8 |
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> ' + - '<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) { |
