diff options
Diffstat (limited to 'ext/fg')
-rw-r--r-- | ext/fg/js/frontend.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 8d51c1df..cfeee64f 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -174,12 +174,13 @@ class Frontend { this.preventNextMouseDown = false; this.preventNextClick = false; + if (this.pendingLookup) { return; } + const textSourceCurrentPrevious = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null; this.searchAt(primaryTouch.clientX, primaryTouch.clientY, 'touchStart') .then(() => { if ( - this.pendingLookup || this.textSourceCurrent === null || this.textSourceCurrent.equals(textSourceCurrentPrevious) ) { |