From b36c6a4e116deaa24f64d78d734b4e5024efbc29 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 18 Dec 2010 23:07:05 -0800 Subject: [PATCH] keybind: use W instead of M to watch threads --- 4chan_x.coffee | 6 +++--- 4chan_x.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/4chan_x.coffee b/4chan_x.coffee index 3d6b63c78..edbf027b0 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -528,12 +528,12 @@ keypress = (e) -> temp = g.PAGENUM + count if temp > 15 then temp = 15 location.pathname = "/#{g.BOARD}/#{temp}#0" - when "M" - img = $("#{hash} ~ img") - watch.call img when "O" href = $("#{hash} ~ span[id] a:last-of-type").href GM_openInTab href + when "W" + img = $("#{hash} ~ img") + watch.call img nodeInserted = (e) -> target = e.target diff --git a/4chan_x.js b/4chan_x.js index d74a2eb4d..c0d753012 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -693,13 +693,13 @@ } return location.pathname = "/" + g.BOARD + "/" + temp + "#0"; break; - case "M": - img = $("" + hash + " ~ img"); - return watch.call(img); - break; case "O": href = $("" + hash + " ~ span[id] a:last-of-type").href; return GM_openInTab(href); + break; + case "W": + img = $("" + hash + " ~ img"); + return watch.call(img); } } };