diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-11-14 05:00:48 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-11-14 05:00:48 -0500 |
commit | ecc1d9c9d843b56a478117dd45e676800f3225eb (patch) | |
tree | 239e8b82967668b3565d1770d08ede79e579f503 | |
parent | 2328e44d2e34c6c906be16f5421b152c49e0f266 (diff) | |
download | thedroneely.com-ecc1d9c9d843b56a478117dd45e676800f3225eb.tar.gz thedroneely.com-ecc1d9c9d843b56a478117dd45e676800f3225eb.tar.bz2 thedroneely.com-ecc1d9c9d843b56a478117dd45e676800f3225eb.zip |
public/js/app: Don't split hash
-rw-r--r-- | public/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js index 898c416..a7ccbca 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -28,7 +28,7 @@ function contextMenuHideOutside(element, event) { /** * Remove url query string and hash */ -var url = window.location.href.split('#')[0].split('?')[0]; +var url = window.location.href.split('?')[0]; window.history.replaceState(null, '', url); /** |