diff --git a/js/AppBase.js b/js/AppBase.js index c7e2210947ecf7d47c30a1584c92affc21417e68..bb2c3cbcc8a57e72a6216f08c5ab3aa6b3419bb3 100644 --- a/js/AppBase.js +++ b/js/AppBase.js @@ -209,8 +209,7 @@ define(["dojo/_base/declare"], function (declare) { const seq = reply['seq']; if (seq && this.get_seq() != seq) { - console.log("[handleRpcJson] sequence mismatch: " + seq + - " (want: " + this.get_seq() + ")"); + console.log("[handleRpcJson] sequence mismatch: ", seq, '!=', this.get_seq()); return true; } diff --git a/js/Headlines.js b/js/Headlines.js index bbf48738bb22e1910a2439f93bf9caa348fda9c0..19ab69d16d67cd55cae61ccc275f8096b5d26382 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -141,7 +141,9 @@ define(["dojo/_base/declare"], function (declare) { if (promises.length > 0) Promise.all([promises]).then(() => { - Feeds.requestCounters(true); + setTimeout(() => { + Feeds.requestCounters(true); + }, 1000); }); },