keybind: use W instead of M to watch threads

This commit is contained in:
James Campos 2010-12-18 23:07:05 -08:00
parent d157eafca4
commit b36c6a4e11
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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);
}
}
};