Fix 'Open front page' keybind in Tampermonkey.
This commit is contained in:
parent
2ac4924cf4
commit
95cc4321c2
@ -132,7 +132,7 @@ Keybinds =
|
|||||||
else
|
else
|
||||||
window.location = "/#{g.BOARD}/"
|
window.location = "/#{g.BOARD}/"
|
||||||
when Conf['Open front page']
|
when Conf['Open front page']
|
||||||
$.open "/#{g.BOARD}/"
|
$.open "#{location.origin}/#{g.BOARD}/"
|
||||||
when Conf['Next page']
|
when Conf['Next page']
|
||||||
return unless g.VIEW is 'index' and g.BOARD.ID isnt 'f'
|
return unless g.VIEW is 'index' and g.BOARD.ID isnt 'f'
|
||||||
if Conf['JSON Index']
|
if Conf['JSON Index']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user