diff options
Diffstat (limited to 'assets/js/index.js')
-rw-r--r-- | assets/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/index.js b/assets/js/index.js index 62615e5..9f684bf 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -39,6 +39,7 @@ window.scrollTo(0, 0); } if (document.body.contains(back) && back.contains(event.target)) { + if (history.length < 2) return; event.preventDefault(); history.go(-1); } |