Merge branch 'master' of github.com:aeosynth/4chan-x

This commit is contained in:
Nicolas Stepien 2011-10-15 00:19:27 +02:00
commit 9ac3e40581
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] = {});
@ -3251,6 +3251,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= {}
@ -2510,6 +2510,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;