diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-30 23:19:28 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-30 23:19:28 -0500 |
| commit | f6e7c07078252d72b0c7725350a83adfff740b99 (patch) | |
| tree | 41980a23e5e76b4bbdfcee5d039845635003e0df /StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js | |
| parent | 83a884197ff0226631a46e4894f22b8468b15598 (diff) | |
plugins
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
| -rw-r--r-- | StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js index 19666f8b..3ea35418 100644 --- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js +++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js @@ -42,6 +42,19 @@ var BlogView = View.extend({ if (data.store[0].StoreIsOpen !== "true") { app.closed.storeIsClosed = true } + var fits_large = (data.store[0].FitsLarge === "true") + + app.product.$fit.toggle( fits_large ) + app.product.$sizing.toggle( fits_large ) + + if (data.store[0].BackgroundIsGray === "true") { + app.collection.$el.addClass("gray") + app.product.gallery.$el.addClass("gray") + } + + app.gallery_id = data.store[0].CollectionId + + app.collection.fetch() }, })
\ No newline at end of file |
