summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-29 21:07:19 +0300
committerAndrew Dolgov <[email protected]>2018-11-29 21:07:19 +0300
commit1b91bb45646899179a8a08ea7af22dab256246c7 (patch)
tree4e13d11c06676bb6a2604416b8caaacc1570e3fa /js/tt-rss.js
parent4508e3103d12f6cb9b99c3f0471b83e799d596e9 (diff)
don't compare result with undefined seq
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 654d125fb..9ff87d652 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -940,7 +940,7 @@ function handle_rpc_json(transport, scheduled_call) {
const seq = reply['seq'];
- if (get_seq() != seq) {
+ if (seq && get_seq() != seq) {
console.log("[handle_rpc_json] sequence mismatch: " + seq +
" (want: " + get_seq() + ")");
return true;