keybind: use W instead of M to watch threads
This commit is contained in:
parent
d157eafca4
commit
b36c6a4e11
@ -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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user