title: Resizing fixed menu in ie8
body: <p>I addded the following jQuery code to make resizing for fixed menu in scroll case, but it doesn't work in ie8</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      jQuery(document).on("scroll",function(){
          if(jQuery(document).scrollTop()&gt;100){
              jQuery(".navbar-fixed-top").addClass("small");
          } else{
              jQuery(".navbar-fixed-top").removeClass("small");
          }
      }); 
  
  &lt;/script&gt;
  </code></pre>