summaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-05 21:43:35 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-05 21:43:35 -0700
commitf7db707dc249cabc14d72728ad1eb0176390593a (patch)
tree58933b8e8bc5be0d060d8f36b92b99f59db7ae93 /ext/fg/js
parentf1e078c7d8fa09e8471e66b245afb80a1b78cc6b (diff)
WIP
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/client.js4
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',