Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught Error: Method value does not exist on jQuery.tooltip #2821
Hi, I encountered an error regarding $.fn.slider in materialize.js and WordPress Core's color picker:
Here's the JS error for reference:
stemmed from the
Edit: Dug through WP's code, the error occurs when WP's Iris color picker calls:
Would it be possible to namespace Materialcss's slider function?
Still an issue on latest version, just try to call any method of slider requiring arguments and will reproduce the issue, no need to spend 15 minutes for a codepen ;)
Next and prev doesn't give errors, only when a second argument is passed you'll see the "tooltip" error popping.
Error code (line 710 is the one quoted above)
Uncaught Error: Method sliderTo does not exist on jQuery.tooltip
// Pause slider $('.slider').slider('pause'); // Start slider $('.slider').slider('start'); // Next slide $('.slider').slider('next'); // Previous slide $('.slider').slider('prev');