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:
BeltranBot 2017-09-23 03:27:35 -05:00 committed by GitHub
parent 8e043e9951
commit 8875cfeb20

View File

@ -312,7 +312,7 @@ Keybinds =
return if g.VIEW isnt 'index'
url = "/#{thread.board}/thread/#{thread}"
if tab
$.open url
$.open location.origin + url
else
location.href = url