Browse Source

ref(filmstrip): add class to body for horizontal filmstrip

master
Leonard Kim 7 years ago
parent
commit
7328dd9125
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      modules/UI/UI.js

+ 4
- 2
modules/UI/UI.js View File

@@ -321,8 +321,10 @@ UI.start = function() {
321 321
         SidePanels.init(eventEmitter);
322 322
     }
323 323
 
324
-    interfaceConfig.VERTICAL_FILMSTRIP
325
-        && $('body').addClass('vertical-filmstrip');
324
+    const filmstripTypeClassname = interfaceConfig.VERTICAL_FILMSTRIP
325
+        ? 'vertical-filmstrip' : 'horizontal-filmstrip';
326
+
327
+    $('body').addClass(filmstripTypeClassname);
326 328
 
327 329
     document.title = interfaceConfig.APP_NAME;
328 330
 };

Loading…
Cancel
Save