Skip to content

Commit

Permalink
always bind mouse events (closes #21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Mar 3, 2013
1 parent 8fd2d1b commit 9f8354f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions js/meny.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,10 @@ var Meny = {
Meny.bindEvent( document, 'touchstart', onTouchStart );
Meny.bindEvent( document, 'touchend', onTouchEnd );
}
else {
Meny.bindEvent( document, 'mousedown', onMouseDown );
Meny.bindEvent( document, 'mouseup', onMouseUp );
Meny.bindEvent( document, 'mousemove', onMouseMove );
}

Meny.bindEvent( document, 'mousedown', onMouseDown );
Meny.bindEvent( document, 'mouseup', onMouseUp );
Meny.bindEvent( document, 'mousemove', onMouseMove );
}

/**
Expand Down
4 changes: 2 additions & 2 deletions js/meny.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f8354f

Please sign in to comment.