title: How to dynamically un-collapse a Bootstrap navbar?
body: <p>I have multiple versions of my page where the number of items in the <code>navbar</code> varies widely. The exact number of items is determined on the server.</p>
  
  <p>In some cases, where the navbar only has 1 or 2 items, I want to un-collapse it -- I want to see all the items on the navbar (and not in the dropdown). Can this be done dynamically with Javascript? Or perhaps this can be done on the server when creating the HTML?</p>
  
  <p>I'm aware that I can create a static CSS with <a href="http://getbootstrap.com/customize/" rel="nofollow">http://getbootstrap.com/customize/</a> to control the collapse trigger width. But having 2 versions of Bootstrap CSS (one for large-screen collapse and one for small-screen collapse) and then trying to switch between doesn't seem very clean.</p>