diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-05 21:43:35 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-05 21:43:35 -0700 |
commit | f7db707dc249cabc14d72728ad1eb0176390593a (patch) | |
tree | 58933b8e8bc5be0d060d8f36b92b99f59db7ae93 /ext/fg | |
parent | f1e078c7d8fa09e8471e66b245afb80a1b78cc6b (diff) |
WIP
Diffstat (limited to 'ext/fg')
-rw-r--r-- | ext/fg/js/client.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js index 14c0a95f..b4c1c2d4 100644 --- a/ext/fg/js/client.js +++ b/ext/fg/js/client.js @@ -106,7 +106,7 @@ class Client { if (length === 0) { this.hidePopup(); } else { - const sequence = this.sequence++; + const sequence = ++this.sequence; range.setLength(length); bgRenderText( {defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence}, @@ -141,7 +141,7 @@ class Client { actionDisplayKanji(kanji) { bgFindKanji(kanji, (definitions) => { - const sequence = this.sequence++; + const sequence = ++this.sequence; bgRenderText( {defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence}, 'kanji-list.html', |