We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed9751 commit 4f1145cCopy full SHA for 4f1145c
js/utils/tap.js
@@ -325,7 +325,7 @@ function tapMouseUp(e) {
325
return false;
326
}
327
328
- if( tapIgnoreEvent(e) || (/select|option/i).test(e.target) ) return;
+ if( tapIgnoreEvent(e) || (/select|option/i).test(e.target.tagName) ) return;
329
330
if( !tapHasPointerMoved(e) ) {
331
tapClick(e);
@@ -378,7 +378,7 @@ function tapTouchEnd(e) {
378
379
380
381
- if( (/select|option/i).test(e.target) ) {
+ if( (/select|option/i).test(e.target.tagName) ) {
382
e.preventDefault();
383
384
0 commit comments