diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 01:54:35 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 01:54:35 -0600 |
| commit | 20739f5f572e043aec1a4b25de63231c4c176ffe (patch) | |
| tree | 2d0e3809aea69297d22651131275ba1989b76e11 /StoneIsland/www/js/lib/view/View.js | |
| parent | 13a66557666db25dd67bdc3eb0e52b11292045d1 (diff) | |
is_android check for touch events, rebuild ios
Diffstat (limited to 'StoneIsland/www/js/lib/view/View.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/view/View.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StoneIsland/www/js/lib/view/View.js b/StoneIsland/www/js/lib/view/View.js index 70d2c7eb..fe145221 100755 --- a/StoneIsland/www/js/lib/view/View.js +++ b/StoneIsland/www/js/lib/view/View.js @@ -64,9 +64,9 @@ var View = (function($, _){ if (eventName === 'mouseenter' || eventName === 'mouseleave') { continue } - if (eventName === 'click') { - eventName = 'touchstart' - } + if (is_android && eventName === 'click') { + eventName = 'touchstart' + } } if (selector === '') { this.$el.on(eventName, method); |
