watcher title text
This commit is contained in:
parent
2af711f8af
commit
816576b573
@ -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] = {});
|
||||
|
||||
@ -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= {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user