Skip to content

Commit

Permalink
Re-enabling location updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xenodium committed Feb 1, 2025
1 parent 2836ae3 commit 8ad5cb2
Show file tree
Hide file tree
Showing 2 changed files with 4,538 additions and 4,542 deletions.
10 changes: 4 additions & 6 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,10 @@ const htmlContent = `
url.searchParams.delete('speakers');
}
console.log('Location: ' + window.location.href + ' ====> ' + url.toString());
// Momentarily disabling while debugging:
// Too many calls to Location or History APIs within a short timeframe.
// if (url.toString() !== window.location.href) {
// history.replaceState(null, '', url.toString());
// }
if (url.toString() !== window.location.href) {
console.log('Replacing location: ' + window.location.href + ' ====> ' + url.toString());
history.replaceState(null, '', url.toString());
}
const { loading, html, handlers } = app.render(state, store);
Expand Down
Loading

0 comments on commit 8ad5cb2

Please sign in to comment.