Browse Source

hide animatiosn container if told to

Raanan Weber 7 years ago
parent
commit
5ab531bb9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Viewer/assets/templates/default/navbar.html

+ 2 - 2
Viewer/assets/templates/default/navbar.html

@@ -101,14 +101,14 @@
         <span class="model-subtitle"> {{#if subtitle}}{{subtitle}} {{/if}}</span>
         <span class="model-subtitle"> {{#if subtitle}}{{subtitle}} {{/if}}</span>
     </div>
     </div>
 </div>
 </div>
-{{#if animations}}
+{{#if animations}} {{#if hideAnimations}}{{else}}
 <div class="animation-container flex-container">
 <div class="animation-container flex-container">
     <select id="animation-selector" name="animations">
     <select id="animation-selector" name="animations">
         {{#each animations}}
         {{#each animations}}
         <option value="{{this}}">{{this}}</option>> {{/each}}
         <option value="{{this}}">{{this}}</option>> {{/each}}
     </select>
     </select>
 </div>
 </div>
-{{/if}}
+{{/if}} {{/if}}
 <div class="button-container flex-container">
 <div class="button-container flex-container">
     <!-- holding the buttons -->
     <!-- holding the buttons -->
     {{#eachInMap buttons}}
     {{#eachInMap buttons}}