From 0f4a5891f2aa3f757dc6a2f041effb380fcb5dec Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 25 Jun 2011 10:55:26 -0700 Subject: [PATCH] fix overflowing keybinds --- 4chan_x.user.js | 6 ++---- script.coffee | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 2e93e747e..dd3e935dc 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1388,7 +1388,7 @@ _ref = c.textContent.match(/thread:(\d+),no:(\d+)/), _ = _ref[0], thread = _ref[1], id = _ref[2]; if (thread === '0') { return window.location = "http://boards.4chan.org/" + g.BOARD + "/res/" + id + "#watch"; - } else if (/AEOS.4chan_x.auto_noko=true/.test(d.cookie)) { + } else if (d.cookie.indexOf("" + NAMESPACE + "auto_noko") > -1) { return window.location = "http://boards.4chan.org/" + g.BOARD + "/res/" + thread + "#" + id; } } @@ -2889,11 +2889,9 @@ #floaty {\ float: left;\ }\ - #options #main {\ - overflow: auto;\ - }\ #content > * {\ height: 500px;\ + overflow: auto;\ }\ #content textarea {\ margin: 0;\ diff --git a/script.coffee b/script.coffee index 127453c67..46be48c4d 100644 --- a/script.coffee +++ b/script.coffee @@ -2291,11 +2291,9 @@ main = #floaty { float: left; } - #options #main { - overflow: auto; - } #content > * { height: 500px; + overflow: auto; } #content textarea { margin: 0;