malihu-custom-scrollbar-plugin icon indicating copy to clipboard operation
malihu-custom-scrollbar-plugin copied to clipboard

Sometimes you try to access a cdn in cloudflares

Open martinmurciego opened this issue 6 years ago • 0 comments

In a moment I made the claim or query about this problem in another repository, since I use the admin template Gentelella that uses this plugin with the mouse wheel plugin. The problem occurs when the connection is slow especially. Sometimes you try to access to cdn into cloudflares: https://cdnjs.com/libraries/jquery-mousewheel and throw an error. I have seen this error in the chromium javascript console especially when the internet connection speed becomes slow. So it does not access the library hosted locally in the directory of javascript and css files but seeks to access the cdn. How do I modify this unwanted behavior?

https://github.com/jquery/jquery-mousewheel/issues/196#issue-380017010

https://github.com/malihu/malihu-custom-scrollbar-plugin/blob/5f1bb9d0c234b0404492b3a2dd8e872d33a87122/js/uncompressed/jquery.mCustomScrollbar.js#L52

martinmurciego avatar Nov 25 '18 01:11 martinmurciego