Skip to content

Commit

Permalink
Update text-scanner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 24, 2024
1 parent 4fd5558 commit 83d9d80
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/js/language/text-scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,6 @@ export class TextScanner extends EventDispatcher {
_getExcludeSelectorForPointerType(pointerType) {
if (pointerType === 'touch') {
// Avoid trigger search with tapping on interactive elements.
const popupClickableSelector = '.gloss-link,.gloss-link *,.tag, .tag *, .inflection, a, a *, input, textarea, textarea *';
const popupClickableSelector = '.gloss-link,.gloss-link *,.tag, .tag *, .inflection, a, a *'
return this._excludeSelector ? `${this._excludeSelector},${popupClickableSelector}` : popupClickableSelector;
}
Expand Down

0 comments on commit 83d9d80

Please sign in to comment.