From 0c74497ef773110d65782795b3eb6f0371272860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Fri, 24 Jan 2025 17:45:54 -0800 Subject: [PATCH] fix(js): regression introduced in commit ffe1be5 The default argument should be set to false. --- internal/ui/static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/static/js/app.js b/internal/ui/static/js/app.js index 35df18a2..bb6b997a 100644 --- a/internal/ui/static/js/app.js +++ b/internal/ui/static/js/app.js @@ -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) {