We slice the board prefix along with the thread title now, so 25 -> 30
This commit is contained in:
parent
819a303bf6
commit
cd99d4bd7c
@ -1887,7 +1887,7 @@
|
||||
var props, watched, _name;
|
||||
props = {
|
||||
href: "/" + g.BOARD + "/res/" + id,
|
||||
textContent: getTitle(thread).slice(0, 25)
|
||||
textContent: getTitle(thread).slice(0, 30)
|
||||
};
|
||||
watched = $.get('watched', {});
|
||||
watched[_name = g.BOARD] || (watched[_name] = {});
|
||||
|
||||
@ -1555,7 +1555,7 @@ watcher =
|
||||
watch: (thread, id) ->
|
||||
props =
|
||||
href: "/#{g.BOARD}/res/#{id}"
|
||||
textContent: getTitle(thread)[...25]
|
||||
textContent: getTitle(thread)[...30]
|
||||
|
||||
watched = $.get 'watched', {}
|
||||
watched[g.BOARD] or= {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user