summaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
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',