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

I can't use jquery.mCustomScrollbar.concat.min.js in 3.1.5 version

Open HangZhouWan opened this issue 8 years ago • 1 comments

Hi, my project in dependency by your plugin, At first I install plugin by bower, and version is 3.1.5. when I use the jquery.mCustomScrollbar.concat.min.js file to make a scroll content, but is does not work, there is a error: "$(elem).mCustomScrollbar() is not a functiion", then I switch to use jquery.mCustomScrollbar.js , the scrollbar work well.

For a test , then I down load malihu-custom-scrollbar-plugin-3.1.5.zip from your github, and copy the source code from jquery.mCustomScrollbar.concat.min.js to my project, open my html file, there is the same error in browser(chrome).

But I do want use min file, so I tried version 3.1.4, this version has no problem. So I guess 3.1.5 version of the compressed file may be has problem. Is there anyone has the same problem with me?

HangZhouWan avatar Jan 22 '17 07:01 HangZhouWan

if you use jquery.mCustomScrollbar.concat.min.js with 3.1.5 version it become error.so fixed this issue use jquery.mCustomScrollbar.js and scroll.js file separately.or use can use 3.1.4 or miner ...

lakshitha24 avatar Feb 06 '17 08:02 lakshitha24