1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-04-21 21:12:13 +02:00

Fix tests

This commit is contained in:
Calyhre 2014-06-18 14:23:42 +02:00
parent 4e70cf8126
commit ed8d90bc58

View File

@ -3791,7 +3791,7 @@
}
function preventSwipe(target) {
while( target && typeof target.hasAttribute == 'function' ) {
while( target && typeof target.hasAttribute === 'function' ) {
if(target.hasAttribute('prevent-swipe')) return true;
target = target.parentNode;
}