Parcourir la source

fix syntax error

Levin Alexander il y a 10 ans
Parent
commit
88308b9845
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      jquery.nicescroll.js

+ 1 - 1
jquery.nicescroll.js

@@ -2042,7 +2042,7 @@
       var el = ("jquery" in dom) ? dom[0] : dom;
       
       if (name=='mousewheel') {
-        if ("onwheel' in document || document.documentMode >= 9) {            
+        if ('onwheel' in document || document.documentMode >= 9) {            
           self._bind(el,"wheel",fn,bubble||false);
         } else {            
           var wname = (typeof document.onmousewheel != "undefined") ? "mousewheel" : "DOMMouseScroll";  // older IE/Firefox