Skip to content

Commit

Permalink
jshint error
Browse files Browse the repository at this point in the history
Resolve this jshint error:
>> line 1325  col 37  Strings must use singlequote.
  • Loading branch information
webmasterlpo committed Aug 8, 2014
1 parent 0566351 commit b058cfc
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 b058cfc

Please sign in to comment.