title: How to set maxViewMode in Bootstrap Datepicker (with JS Fiddle)
body: <p>I have a simple installation of <a href="https://github.com/eternicode/bootstrap-datepicker" rel="nofollow">Bootstrap Datepicker</a>:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="datepicker"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>$("#datepicker").datepicker( {minViewMode: "days", maxViewMode: "days"});
  </code></pre>
  
  <p>I am trying to disable the user's ability to switch to month view (achieved by clicking on the month title). I have set <code>maxViewMode</code> to <code>days</code> as per the <a href="http://bootstrap-datepicker.readthedocs.org/en/latest/options.html#maxviewmode" rel="nofollow">docs</a>, but it doesn't work.</p>
  
  <p><strong><a href="https://jsfiddle.net/m2bak1fc/" rel="nofollow">JS Fiddle here</a></strong>.</p>
  
  <p>Where am I going wrong? Is this a bug?</p>