From 52366d2078b6e347e8f9efa44fde126307b016da Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 14 Oct 2011 14:39:25 -0700 Subject: [PATCH] give watcher full op text --- 4chan_x.user.js | 5 ++++- script.coffee | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 28820f6d7..5a29f9d0b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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;\ diff --git a/script.coffee b/script.coffee index ea8eb5f4a..1d3e40b01 100644 --- a/script.coffee +++ b/script.coffee @@ -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;