WIP
This commit is contained in:
parent
f1e078c7d8
commit
f7db707dc2
@ -106,7 +106,7 @@ class Client {
|
|||||||
if (length === 0) {
|
if (length === 0) {
|
||||||
this.hidePopup();
|
this.hidePopup();
|
||||||
} else {
|
} else {
|
||||||
const sequence = this.sequence++;
|
const sequence = ++this.sequence;
|
||||||
range.setLength(length);
|
range.setLength(length);
|
||||||
bgRenderText(
|
bgRenderText(
|
||||||
{defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence},
|
{defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence},
|
||||||
@ -141,7 +141,7 @@ class Client {
|
|||||||
|
|
||||||
actionDisplayKanji(kanji) {
|
actionDisplayKanji(kanji) {
|
||||||
bgFindKanji(kanji, (definitions) => {
|
bgFindKanji(kanji, (definitions) => {
|
||||||
const sequence = this.sequence++;
|
const sequence = ++this.sequence;
|
||||||
bgRenderText(
|
bgRenderText(
|
||||||
{defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence},
|
{defs: definitions, root: this.fgRoot, options: this.options, sequence: sequence},
|
||||||
'kanji-list.html',
|
'kanji-list.html',
|
||||||
|
Loading…
Reference in New Issue
Block a user