diff options
Diffstat (limited to 'StoneIsland/www/js/lib/view/View.js')
| -rw-r--r-- | 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 41638ab7..70d2c7eb 100644 --- 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 = 'tap' -// } + if (eventName === 'click') { + eventName = 'touchstart' + } } if (selector === '') { this.$el.on(eventName, method); |
