Skip to content

Commit

Permalink
Don't allow move if a wheel is already moved
Browse files Browse the repository at this point in the history
  • Loading branch information
dioslaska committed Dec 14, 2012
1 parent 3816c4a commit 97bc4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mobiscroll.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
// Prevent scroll
e.preventDefault();
// Scroll start
if (!isReadOnly(this) && !click && s.mode != 'clickpick') {
if (!move && !isReadOnly(this) && !click && s.mode != 'clickpick') {
move = true;
target = $('ul', this);
target.closest('.dwwl').addClass('dwa');
Expand Down

0 comments on commit 97bc4fc

Please sign in to comment.