From 2716d508892fb0a6e5de7ce0723d3d1d4a89bdd4 Mon Sep 17 00:00:00 2001 From: James Campos Date: Thu, 25 Aug 2011 15:45:54 -0700 Subject: [PATCH] 25 char watcher title --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 51d01c0c3..5fea61f00 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1890,7 +1890,7 @@ var props, watched, _name; props = { href: "/" + g.BOARD + "/res/" + id, - textContent: getTitle(thread) + textContent: getTitle(thread).slice(0, 25) }; watched = $.get('watched', {}); watched[_name = g.BOARD] || (watched[_name] = {}); diff --git a/script.coffee b/script.coffee index 683be42a0..990521aee 100644 --- a/script.coffee +++ b/script.coffee @@ -1557,7 +1557,7 @@ watcher = watch: (thread, id) -> props = href: "/#{g.BOARD}/res/#{id}" - textContent: getTitle thread + textContent: getTitle(thread)[...25] watched = $.get 'watched', {} watched[g.BOARD] or= {}