From ecbac2c5ea4aecfb4d43d5beb20792f644e334d0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 20 Oct 2020 19:08:17 -0400 Subject: Popup preview improvements (#947) * Move CSS * Update indent * Refactor HTML/CSS * Add support for editing the source text * Add WanaKana binding for input * Rename file --- ext/fg/js/frontend.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fg') diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 97f73075..af1a6527 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -132,6 +132,7 @@ class Frontend { } async setTextSource(textSource) { + this._textScanner.setCurrentTextSource(null); await this._textScanner.search(textSource); } -- cgit v1.2.3