summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/view/View.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/view/View.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/view/View.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/view/View.js b/StoneIsland/platforms/ios/www/js/lib/view/View.js
index 70d2c7eb..fe145221 100755
--- a/StoneIsland/platforms/ios/www/js/lib/view/View.js
+++ b/StoneIsland/platforms/ios/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);