Fix 'Open front page' keybind in Tampermonkey.

This commit is contained in:
ccd0 2017-11-16 02:27:08 -08:00
parent 2ac4924cf4
commit 95cc4321c2

View File

@ -132,7 +132,7 @@ Keybinds =
else
window.location = "/#{g.BOARD}/"
when Conf['Open front page']
$.open "/#{g.BOARD}/"
$.open "#{location.origin}/#{g.BOARD}/"
when Conf['Next page']
return unless g.VIEW is 'index' and g.BOARD.ID isnt 'f'
if Conf['JSON Index']