summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/products/ProductView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-12-01 06:18:02 -0500
committerJules Laplace <jules@okfoc.us>2015-12-01 06:18:02 -0500
commit44ba111c40ce50f8634a7e9bb4316315274218cb (patch)
tree2575c846b8e5290b5a3aca7d6c143a545b92f269 /StoneIsland/www/js/lib/products/ProductView.js
parent5e257befde4a275ef807402b9e7e05264bf3ccc9 (diff)
fix gallery arrows
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){