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

View File

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