give watcher full op text

This commit is contained in:
James Campos 2011-10-14 14:39:25 -07:00
parent d95764e87a
commit 52366d2078
2 changed files with 8 additions and 2 deletions

View File

@ -2124,7 +2124,7 @@
var props, watched, _name;
props = {
href: "/" + g.BOARD + "/res/" + id,
textContent: getTitle(thread).slice(0, 30)
textContent: getTitle(thread)
};
watched = $.get('watched', {});
watched[_name = g.BOARD] || (watched[_name] = {});
@ -3244,6 +3244,9 @@
\
#watcher {\
position: absolute;\
width: 250px;\
overflow: hidden;\
white-space: nowrap;\
}\
#watcher > div {\
padding-right: 5px;\

View File

@ -1614,7 +1614,7 @@ watcher =
watch: (thread, id) ->
props =
href: "/#{g.BOARD}/res/#{id}"
textContent: getTitle(thread)[...30]
textContent: getTitle(thread)
watched = $.get 'watched', {}
watched[g.BOARD] or= {}
@ -2505,6 +2505,9 @@ Main =
#watcher {
position: absolute;
width: 250px;
overflow: hidden;
white-space: nowrap;
}
#watcher > div {
padding-right: 5px;