journal-gateway: use localStorage["cursor"] only when it has valid value v239-15
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 27 Jun 2018 05:50:19 +0000 (14:50 +0900)
committerLukáš Nykrýn <lnykryn@redhat.com>
Fri, 3 May 2019 11:30:26 +0000 (13:30 +0200)
commit8ae19bfcfe0a52b55171f4f60772afe418831230
treecec3c79df4fc396b605994fa8400a88f24937ccd
parentb7786387a6cdc447b874f36a8d9831b1acd2eb13
journal-gateway: use localStorage["cursor"] only when it has valid value

Discovered by LGTM.

(cherry picked from commit 944072feddb73333023d0a98bf87fd2a17f894d3)

Resolves: #1705971
src/journal-remote/browse.html