Permalink
Browse files

always bind mouse events (closes #21)

  • Loading branch information...
1 parent 8fd2d1b commit 9f8354f76316ea4a4a5bf1c3c641922099ff3c2f @hakimel committed Mar 3, 2013
Showing with 6 additions and 7 deletions.
  1. +4 −5 js/meny.js
  2. +2 −2 js/meny.min.js
View
@@ -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 );
}
/**
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 9f8354f

Please sign in to comment.