diff --git a/4chan_x.coffee b/4chan_x.coffee index 768cb2261..e3ce45696 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -395,7 +395,8 @@ keyAct = (e) -> if e.shiftKey location.hash = 10 else - location.hash = 'navtop' + window.scrollTo 0, 0 + location.hash = '' count or= 1 switch char when "H" diff --git a/4chan_x.js b/4chan_x.js index 0f3952d7c..276d51327 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -486,7 +486,8 @@ if (e.shiftKey) { location.hash = 10; } else { - location.hash = 'navtop'; + window.scrollTo(0, 0); + location.hash = ''; } } }