Fix 'open thread in new tab' keybind for VM/TM
Fixes 'open thread in new tab' keybind functionality when using violentmonkey/tampermonkey
This commit is contained in:
parent
8e043e9951
commit
8875cfeb20
@ -312,7 +312,7 @@ Keybinds =
|
|||||||
return if g.VIEW isnt 'index'
|
return if g.VIEW isnt 'index'
|
||||||
url = "/#{thread.board}/thread/#{thread}"
|
url = "/#{thread.board}/thread/#{thread}"
|
||||||
if tab
|
if tab
|
||||||
$.open url
|
$.open location.origin + url
|
||||||
else
|
else
|
||||||
location.href = url
|
location.href = url
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user