mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix missing tagName for select checks
This commit is contained in:
@@ -325,7 +325,7 @@ function tapMouseUp(e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if( tapIgnoreEvent(e) || (/select|option/i).test(e.target) ) return;
|
||||
if( tapIgnoreEvent(e) || (/select|option/i).test(e.target.tagName) ) return;
|
||||
|
||||
if( !tapHasPointerMoved(e) ) {
|
||||
tapClick(e);
|
||||
@@ -378,7 +378,7 @@ function tapTouchEnd(e) {
|
||||
if( !tapHasPointerMoved(e) ) {
|
||||
tapClick(e);
|
||||
|
||||
if( (/select|option/i).test(e.target) ) {
|
||||
if( (/select|option/i).test(e.target.tagName) ) {
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user