summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-30 16:14:29 -0500
committerJules Laplace <jules@okfoc.us>2015-11-30 16:14:29 -0500
commit840cdf39595c6b8a29d2c91447d9fb8a91582a59 (patch)
tree76ec09a7693993f7229948a79dace3f268f001ec /StoneIsland/www/js/lib/blogs
parent7920b278e296e99a069c7ab8b78b271e9665a84a (diff)
ui changes
Diffstat (limited to 'StoneIsland/www/js/lib/blogs')
-rw-r--r--StoneIsland/www/js/lib/blogs/BlogView.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js
index 19666f8b..3cfab914 100644
--- a/StoneIsland/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/www/js/lib/blogs/BlogView.js
@@ -42,6 +42,16 @@ 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")
+ }
+
},
}) \ No newline at end of file