Changes

test
Line 74: Line 74:  
     if ( didScroll ) {
 
     if ( didScroll ) {
 
         didScroll = false;
 
         didScroll = false;
−
        var $el;
      
         //Same that all the if else statements
 
         //Same that all the if else statements
 
         switch (true) {
 
         switch (true) {
 
             case (scroll >= 100):
 
             case (scroll >= 100):
−
                 $el = $("#mw-header-container");
+
                 $('#mw-header-container').addClass('headerblur');
 +
                break;
 +
            case (scroll <= 100):
 +
                $('#mw-header-container').removeClass('headerblur');
 
                 break;
 
                 break;
 
         }
 
         }
−
  −
        //Removing blue class from all links
  −
        $('#mw-header-container').addClass('headerblur');
   
     }
 
     }
 
}, 50);
 
}, 50);