From 44ba111c40ce50f8634a7e9bb4316315274218cb Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 1 Dec 2015 06:18:02 -0500 Subject: fix gallery arrows --- StoneIsland/www/js/lib/products/ProductView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/lib/products/ProductView.js') 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){ -- cgit v1.2.3-70-g09d2