monkeymonk / jquery.loader.js

Display a loader on your page or HTML block element.
http://monkeymonk.github.com/jquery.loader.js/
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

conflict with Jcrop (used by BuddyPress avatar upload) #2

Open BobSanDiego opened 8 years ago

BobSanDiego commented 8 years ago

I had a conflict with BuddyPress's avatar crop which used Jcrop.js, a jQuery image cropping utility. The error generated in Chrome's console looked like this:

Uncaught TypeError: i.Jcrop is not a function

I wasn't using the loader anymore, so I just commented it out. From research, this type of error commonly occurred when jQuery was loaded twice or Jcrop.js was loaded before jQuery - neither of which applied in my case, but if others come across a similar issue, this might guide you toward troubleshooting. I don't know protocol with GitHub issues, but I wanted to leave a breadcrumb in case anyone else had a similar problem and this came up in Google. A post like this would have saved me most of the morning.... :o/

wpcoderca commented 8 years ago

Can you please explain exactly what you did to solve this issue? I am having the same problem and think I have tried almost everything at this point. Thanks in advance!

Sharif-SS commented 2 years ago

Folks googling away like me, in my case I had some jQuery running inside divi to do few things, that seems to be the conflict.

Edit: My solution was changing the “$”, in the script, for “jQuery”, took out the call for the jquery .js file