From 8875cfeb207c168325471256e567cc64a0d1e22d Mon Sep 17 00:00:00 2001 From: BeltranBot Date: Sat, 23 Sep 2017 03:27:35 -0500 Subject: [PATCH] Fix 'open thread in new tab' keybind for VM/TM Fixes 'open thread in new tab' keybind functionality when using violentmonkey/tampermonkey --- src/Miscellaneous/Keybinds.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index 2873915ea..ad40a274a 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -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