From f7db707dc249cabc14d72728ad1eb0176390593a Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 5 May 2016 21:43:35 -0700 Subject: WIP --- ext/fg/js/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') 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', -- cgit v1.2.3