Просмотр исходного кода

fix(js): regression introduced in commit ffe1be5

The default argument should be set to false.
Frédéric Guillot 1 год назад
Родитель
Сommit
0c74497ef7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      internal/ui/static/js/app.js

+ 1 - 1
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) {