Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Calyhre committed Jun 18, 2014
1 parent 4e70cf8 commit ed8d90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ed8d90b

Please sign in to comment.