watcher title text
This commit is contained in:
parent
2af711f8af
commit
816576b573
@ -2178,10 +2178,12 @@
|
|||||||
return watcher.refresh();
|
return watcher.refresh();
|
||||||
},
|
},
|
||||||
watch: function(thread, id) {
|
watch: function(thread, id) {
|
||||||
var props, watched, _name;
|
var props, text, watched, _name;
|
||||||
|
text = getTitle(thread);
|
||||||
props = {
|
props = {
|
||||||
href: "/" + g.BOARD + "/res/" + id,
|
href: "/" + g.BOARD + "/res/" + id,
|
||||||
textContent: getTitle(thread)
|
textContent: text,
|
||||||
|
title: text
|
||||||
};
|
};
|
||||||
watched = $.get('watched', {});
|
watched = $.get('watched', {});
|
||||||
watched[_name = g.BOARD] || (watched[_name] = {});
|
watched[_name = g.BOARD] || (watched[_name] = {});
|
||||||
|
|||||||
@ -1741,9 +1741,11 @@ watcher =
|
|||||||
watcher.refresh()
|
watcher.refresh()
|
||||||
|
|
||||||
watch: (thread, id) ->
|
watch: (thread, id) ->
|
||||||
|
text = getTitle thread
|
||||||
props =
|
props =
|
||||||
href: "/#{g.BOARD}/res/#{id}"
|
href: "/#{g.BOARD}/res/#{id}"
|
||||||
textContent: getTitle(thread)
|
textContent: text
|
||||||
|
title: text
|
||||||
|
|
||||||
watched = $.get 'watched', {}
|
watched = $.get 'watched', {}
|
||||||
watched[g.BOARD] or= {}
|
watched[g.BOARD] or= {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user