Skip to content

Commit

Permalink
Update web contents
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 26, 2023
1 parent 47ace28 commit 414ccf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7331,6 +7331,7 @@ class NavigationView extends coroutine_1.Coroutine {
super(async function* () {
return this.finally((0, listener_1.bind)(window, 'popstate', ev => {
if (!(0, state_1.isTransitable)(page_1.page.state) || !(0, state_1.isTransitable)(window.history.state)) return;
// Prevent updates by frames.
if ((0, url_1.standardize)(window.location.href) === page_1.page.url.href) return;
listener(ev);
}));
Expand Down

0 comments on commit 414ccf6

Please sign in to comment.