Fix tests
This commit is contained in:
parent
4e70cf8126
commit
ed8d90bc58
@ -3791,7 +3791,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function preventSwipe(target) {
|
function preventSwipe(target) {
|
||||||
while( target && typeof target.hasAttribute == 'function' ) {
|
while( target && typeof target.hasAttribute === 'function' ) {
|
||||||
if(target.hasAttribute('prevent-swipe')) return true;
|
if(target.hasAttribute('prevent-swipe')) return true;
|
||||||
target = target.parentNode;
|
target = target.parentNode;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user