Make Open Thread keybinds work on Tinyboard/vichan. #2171
This commit is contained in:
parent
4649ae8a82
commit
32ad98a0d6
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user