diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 03:33:09 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 03:33:09 -0600 |
| commit | 2582c7d92804e44250c9713d79421c8becc61f62 (patch) | |
| tree | db7046b3b0d69740247facf3de36f95cb45591a4 /StoneIsland/www/js/lib/view/View.js | |
| parent | f7858001fd285d32f67f02313319d0485c6e8466 (diff) | |
update gallery image when changing product
Diffstat (limited to 'StoneIsland/www/js/lib/view/View.js')
| -rwxr-xr-x | StoneIsland/www/js/lib/view/View.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/view/View.js b/StoneIsland/www/js/lib/view/View.js index fe145221..2401df0d 100755 --- a/StoneIsland/www/js/lib/view/View.js +++ b/StoneIsland/www/js/lib/view/View.js @@ -59,7 +59,6 @@ var View = (function($, _){ var match = key.match(delegateEventSplitter); var eventName = match[1], selector = match[2]; method = _.bind(method, this); - eventName += '.delegateEvents' + this._id; if (is_mobile) { if (eventName === 'mouseenter' || eventName === 'mouseleave') { continue @@ -68,6 +67,7 @@ var View = (function($, _){ eventName = 'touchstart' } } + eventName += '.delegateEvents' + this._id; if (selector === '') { this.$el.on(eventName, method); } else { |
