diff options
Diffstat (limited to 'assets')
-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 5bbcd1a..4755113 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -20,6 +20,7 @@ const hashed = fragmented && document.body.contains(fragment); if (hashed) { self.location.hash = hash; + self.location.href = hash; if (load) fragment.scrollIntoView(); } return hashed; |