mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -440,7 +440,7 @@
|
||||
// Return the list item from the given target
|
||||
_getItem: function(target) {
|
||||
while(target) {
|
||||
if(target.classList.contains(ITEM_CLASS)) {
|
||||
if(target.classList && target.classList.contains(ITEM_CLASS)) {
|
||||
return target;
|
||||
}
|
||||
target = target.parentNode;
|
||||
|
||||
Reference in New Issue
Block a user