25 char watcher title
This commit is contained in:
parent
10d222c8d6
commit
2716d50889
@ -1890,7 +1890,7 @@
|
||||
var props, watched, _name;
|
||||
props = {
|
||||
href: "/" + g.BOARD + "/res/" + id,
|
||||
textContent: getTitle(thread)
|
||||
textContent: getTitle(thread).slice(0, 25)
|
||||
};
|
||||
watched = $.get('watched', {});
|
||||
watched[_name = g.BOARD] || (watched[_name] = {});
|
||||
|
||||
@ -1557,7 +1557,7 @@ watcher =
|
||||
watch: (thread, id) ->
|
||||
props =
|
||||
href: "/#{g.BOARD}/res/#{id}"
|
||||
textContent: getTitle thread
|
||||
textContent: getTitle(thread)[...25]
|
||||
|
||||
watched = $.get 'watched', {}
|
||||
watched[g.BOARD] or= {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user