Skip to content

Commit

Permalink
update prevent-back-button.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ccataalin authored Feb 12, 2024
1 parent 5715e42 commit 0819f41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ window.onpopstate = function (event) {
if (r === true) {
history.back();
} else {
window.history.pushState({page: 2}, '', '');
window.history.pushState({page: 2}, null, null);
}
}
}

0 comments on commit 0819f41

Please sign in to comment.