Поправка бага

This commit is contained in:
Book Pauk
2019-02-02 20:28:01 +07:00
parent 096b60166a
commit 6a70994473

View File

@@ -73,7 +73,7 @@ class SearchPage extends Vue {
const p = parsed.para[i]; const p = parsed.para[i];
const parts = parsed.splitToStyle(p.text); const parts = parsed.splitToStyle(p.text);
if (this.stopInit) if (this.stopInit)
break; return;
for (const part of parts) for (const part of parts)
text += part.text; text += part.text;
@@ -85,7 +85,7 @@ class SearchPage extends Vue {
await sleep(1); await sleep(1);
prevPerc = perc; prevPerc = perc;
} }
} }
this.text = text.toLowerCase(); this.text = text.toLowerCase();
this.initStep = false; this.initStep = false;
this.needle = ''; this.needle = '';