1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:55:56 +00:00

* use es5 (?) default parameter values for some functions

* when moving to next article, try to show hsp if its next
This commit is contained in:
Andrew Dolgov
2021-02-18 15:13:41 +03:00
parent bed36cbf9f
commit 2e4b403787
3 changed files with 26 additions and 16 deletions

View File

@@ -383,9 +383,7 @@ const Article = {
dialog.show();
},
cdmMoveToId: function (id, params) {
params = params || {};
cdmMoveToId: function (id, params = {}) {
const force_to_top = params.force_to_top || false;
const ctr = $("headlines-frame");