summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/BlogView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-01 16:44:37 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-01 16:44:37 +0200
commit87ce52ad887322f8549a01e50bf6be61715cb9a9 (patch)
treeaa651ee61cf9b4edcbfdcad106c065f0eeb87e06 /StoneIsland/www/js/lib/blogs/BlogView.js
parent7646320651ef7000582ca78d422d2f84f19e6c08 (diff)
fixing multi department selector
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/BlogView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/BlogView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/blogs/BlogView.js b/StoneIsland/www/js/lib/blogs/BlogView.js
index d37846c2..5263bee5 100755
--- a/StoneIsland/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/www/js/lib/blogs/BlogView.js
@@ -65,7 +65,7 @@ var BlogView = View.extend({
app.department_id = app.store.Departments[0].uri
app.collection.setCollectionName( app.store.Departments[0].text )
}
- $("#collections h1").toggleClass("single-dept", app.store.Departments.length == 1)
+ $("#collection h1").toggleClass("multi-dept", app.store.Departments.length > 1)
//// demo department for shoes with weird SizeTypeId
// app.department_id = "NKDrtSC"
if (sdk.env === 'test') {