Skip to content

Commit

Permalink
Update packages/kit/src/runtime/client/client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Jan 17, 2025
1 parent efee7f7 commit 21f76a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/kit/src/runtime/client/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2809,6 +2809,7 @@ function clone_page(page) {
*/
function decode_hash(url) {
const new_url = new URL(url);
// Safari, for some reason, does change # to %23, when entered through the address bar
new_url.hash = decodeURIComponent(url.hash);
return new_url;
}
Expand Down

0 comments on commit 21f76a9

Please sign in to comment.