From 32ad98a0d6c4b80005a8ef8f03c313b6bb53e6c8 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 23 Jul 2019 00:17:24 -0700 Subject: [PATCH] Make Open Thread keybinds work on Tinyboard/vichan. #2171 --- src/Miscellaneous/Keybinds.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Miscellaneous/Keybinds.coffee b/src/Miscellaneous/Keybinds.coffee index ce4cae17c..f89cc9d94 100644 --- a/src/Miscellaneous/Keybinds.coffee +++ b/src/Miscellaneous/Keybinds.coffee @@ -315,9 +315,9 @@ Keybinds = open: (thread, tab) -> return if g.VIEW isnt 'index' - url = "/#{thread.board}/thread/#{thread}" + url = Get.url 'thread', thread if tab - $.open location.origin + url + $.open url else location.href = url