summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/products/ProductView.js')
-rw-r--r--StoneIsland/www/js/lib/products/ProductView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js
index 5b7ee6d2..4789850a 100644
--- a/StoneIsland/www/js/lib/products/ProductView.js
+++ b/StoneIsland/www/js/lib/products/ProductView.js
@@ -47,10 +47,10 @@ var ProductView = ScrollableView.extend({
cache: {},
gallery_prev: function(){
- this.gallery.gallery.flickity('prev')
+ app.product.gallery.gallery.previous()
},
gallery_right: function(){
- this.gallery.gallery.flickity('next')
+ app.product.gallery.gallery.next()
},
find: function(code, cb){