We slice the board prefix along with the thread title now, so 25 -> 30

This commit is contained in:
Nicolas Stepien 2011-08-26 01:09:36 +02:00
parent 819a303bf6
commit cd99d4bd7c
2 changed files with 2 additions and 2 deletions

View File

@ -1887,7 +1887,7 @@
var props, watched, _name; var props, watched, _name;
props = { props = {
href: "/" + g.BOARD + "/res/" + id, href: "/" + g.BOARD + "/res/" + id,
textContent: getTitle(thread).slice(0, 25) textContent: getTitle(thread).slice(0, 30)
}; };
watched = $.get('watched', {}); watched = $.get('watched', {});
watched[_name = g.BOARD] || (watched[_name] = {}); watched[_name = g.BOARD] || (watched[_name] = {});

View File

@ -1555,7 +1555,7 @@ watcher =
watch: (thread, id) -> watch: (thread, id) ->
props = props =
href: "/#{g.BOARD}/res/#{id}" href: "/#{g.BOARD}/res/#{id}"
textContent: getTitle(thread)[...25] textContent: getTitle(thread)[...30]
watched = $.get 'watched', {} watched = $.get 'watched', {}
watched[g.BOARD] or= {} watched[g.BOARD] or= {}