Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
zacyu committed Mar 26, 2017
1 parent 7cba888 commit c965181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/colpick.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ For usage and examples: colpick.com/plugin
$(document).on('mouseup touchend',current,upSelector);
$(document).on('mousemove touchmove',current,moveSelector);

var payeX,pageY;
var pageX,pageY;
if(ev.type == 'touchstart') {
pageX = ev.originalEvent.changedTouches[0].pageX,
pageY = ev.originalEvent.changedTouches[0].pageY;
Expand All @@ -194,7 +194,7 @@ For usage and examples: colpick.com/plugin
return false;
},
moveSelector = function (ev) {
var payeX,pageY;
var pageX,pageY;
if(ev.type == 'touchmove') {
pageX = ev.originalEvent.changedTouches[0].pageX,
pageY = ev.originalEvent.changedTouches[0].pageY;
Expand Down

0 comments on commit c965181

Please sign in to comment.