Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdinstel committed Feb 25, 2016
1 parent d618b6b commit 6054522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,12 +789,12 @@
return false;
}

if ((peekABoo.dragStartMousePosX - peekABoo.mouseUpEndX) >= 20){
if ((peekABoo.dragStartMousePosX - peekABoo.mouseUpEndX) >= 8){
$pagingGoToNext.trigger('click');
return false;
}

if ((peekABoo.mouseUpEndX - peekABoo.dragStartMousePosX) >= 20){
if ((peekABoo.mouseUpEndX - peekABoo.dragStartMousePosX) >= 8){
$pagingGoToPrev.trigger('click');
return false;
}
Expand Down

0 comments on commit 6054522

Please sign in to comment.