summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js3
1 files changed, 3 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 5ee7f641..1bd56908 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -48,7 +48,10 @@ var BlogView = View.extend({
else {
app.departments = data.store[0].Departments
app.department_id = data.store[0].Departments[0].uri
+ $("#collections h1").toggleClass("single-dept", data.store[0].Departments.length == 1)
app.collection.setCollectionName( data.store[0].Departments[0].text )
+ //// demo department for shoes with weird SizeTypeId
+ // app.department_id = "NKDrtSC"
app.collection.loaded = false
app.collection.fetch()
}