diff --git a/4chan_x.user.js b/4chan_x.user.js index a3954dc4c..3419f1262 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2178,10 +2178,12 @@ return watcher.refresh(); }, watch: function(thread, id) { - var props, watched, _name; + var props, text, watched, _name; + text = getTitle(thread); props = { href: "/" + g.BOARD + "/res/" + id, - textContent: getTitle(thread) + textContent: text, + title: text }; watched = $.get('watched', {}); watched[_name = g.BOARD] || (watched[_name] = {}); diff --git a/script.coffee b/script.coffee index d2527122a..3500da8c9 100644 --- a/script.coffee +++ b/script.coffee @@ -1741,9 +1741,11 @@ watcher = watcher.refresh() watch: (thread, id) -> + text = getTitle thread props = href: "/#{g.BOARD}/res/#{id}" - textContent: getTitle(thread) + textContent: text + title: text watched = $.get 'watched', {} watched[g.BOARD] or= {}