Browse Source

Reset scroll position on mark page as read

1pav 5 years ago
parent
commit
b730aa520d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ui/static/js/app.js

+ 1 - 1
ui/static/js/app.js

@@ -106,7 +106,7 @@ function markPageAsRead() {
             }
             }
 
 
             if (showOnlyUnread) {
             if (showOnlyUnread) {
-                window.location.reload();
+                window.location.href = window.location.href;
             } else {
             } else {
                 goToPage("next", true);
                 goToPage("next", true);
             }
             }