Skip to content

Commit

Permalink
fix(js): regression introduced in commit ffe1be5
Browse files Browse the repository at this point in the history
The default argument should be set to false.
  • Loading branch information
fguillot committed Jan 25, 2025
1 parent 369054b commit 0c74497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ui/static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ function unsubscribeFromFeed() {
* @param {string} page Page to redirect to.
* @param {boolean} fallbackSelf Refresh actual page if the page is not found.
*/
function goToPage(page, fallbackSelf = true) {
function goToPage(page, fallbackSelf = false) {
const element = document.querySelector(":is(a, button)[data-page=" + page + "]");

if (element) {
Expand Down

0 comments on commit 0c74497

Please sign in to comment.