Skip to content

Commit

Permalink
Merge pull request nolimits4web#884 from webmasterlpo/master
Browse files Browse the repository at this point in the history
jshint error
  • Loading branch information
nolimits4web committed Aug 8, 2014
2 parents 0566351 + b058cfc commit 97233e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idangerous.swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ var Swiper = function (selector, params) {
isTouchEvent = event.type === 'touchstart';

// prevent user enter with right and the swiper move (needs isTouchEvent)
if (!isTouchEvent && "which" in event && event.which === 3) return false;
if (!isTouchEvent && 'which' in event && event.which === 3) return false;

if (!isTouchEvent || event.targetTouches.length === 1) {
_this.callPlugins('onTouchStartBegin');
Expand Down

0 comments on commit 97233e2

Please sign in to comment.