1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-16 18:01:37 +00:00

fix(js): regression introduced in commit ffe1be5

The default argument should be set to false.
This commit is contained in:
Frédéric Guillot 2025-01-24 17:45:54 -08:00
parent 369054b02d
commit 0c74497ef7

View file

@ -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) {