diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mixed/js/text-scanner.js | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/ext/mixed/js/text-scanner.js b/ext/mixed/js/text-scanner.js index db3835cf..ff0eac8b 100644 --- a/ext/mixed/js/text-scanner.js +++ b/ext/mixed/js/text-scanner.js @@ -141,18 +141,18 @@ class TextScanner {          const textSourceCurrentPrevious = this.textSourceCurrent !== null ? this.textSourceCurrent.clone() : null;          this.searchAt(primaryTouch.clientX, primaryTouch.clientY, 'touchStart') -        .then(() => { -            if ( -                this.textSourceCurrent === null || -                this.textSourceCurrent.equals(textSourceCurrentPrevious) -            ) { -                return; -            } +            .then(() => { +                if ( +                    this.textSourceCurrent === null || +                    this.textSourceCurrent.equals(textSourceCurrentPrevious) +                ) { +                    return; +                } -            this.preventScroll = true; -            this.preventNextContextMenu = true; -            this.preventNextMouseDown = true; -        }); +                this.preventScroll = true; +                this.preventNextContextMenu = true; +                this.preventNextMouseDown = true; +            });      }      onTouchEnd(e) { |