Title: JS easing conflict
Last modified: November 13, 2018

---

# JS easing conflict

 *  [KS](https://wordpress.org/support/users/karl19/)
 * (@karl19)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/)
 * Hello, using latest plugin version, with latest WP and latest Enfold Theme (4.5).
 * When using Ditty ticker and clicking the Enfold mobile menu, I get a JS easing
   loop error and the menu doesn’t load. It looks something like:
 * `jQuery.easing[jQuery.easing.def] is not a function`
 * I’m not sure how it’s getting triggered and if there is more at play, but if 
   I disable the Ditty plugin, the menu and site loads OK.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10877276)
 * Do you have a URL to your site for me to check out (just the front end)?
 * It sounds like the jquery.easing script may not be loading on your site for some
   reason, or there may be a non-standard version of jQuery being loaded by your
   theme or another plugin.
 *  Thread Starter [KS](https://wordpress.org/support/users/karl19/)
 * (@karl19)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10878618)
 * Many thanks for the quick reply. Unfortunately I can’t reactivate the plugin 
   as it breaks the mobile menu and the site is live.
 * In Enfold, it seems like the LayerSlider is using easing, but I can’t quite tell
   what might cause a conflict there. Perhaps it’s something else.
 * Apologies about not being able to provide more details, I will have to look further.
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10880513)
 * No worries. I still wouldn’t mind looking at your site. Even without Ditty activated
   I may be able to see something in the HTML that may give me some clues as to 
   what’s going on.
 *  Thread Starter [KS](https://wordpress.org/support/users/karl19/)
 * (@karl19)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10880715)
 * Sure, that would be very kind. It’s for a client site, so I can’t publish the
   URL, but I’ve emailed it to you on your website – hope that’s OK. Thanks!
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10880746)
 * That works for me. Thanks!
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10880799)
 * I checked out your site and see that you are running a minifier on it. I believe
   if you switched this off everything would probably work fine.
 * With that being said, I’m not positive why the minifier is running into this 
   issue… But, it may be due to how my scripts are setup to load. I was registering
   certain scripts and only loading them if a ticker was present, but I think this
   may be an issue when a minifier is being used as it doesn’t compile correctly.
   I made an update to the plugin to just enqueue the scripts regardless, so please
   update when you can and let me know if you still have the issue.
 * If this works, then I’ll spend a bit more time trying to figure out how to merge
   the 2 scenarios so the scripts compile correctly with a minifier, yet still only
   load if a ticker is visible.
 * Thanks!
 *  Thread Starter [KS](https://wordpress.org/support/users/karl19/)
 * (@karl19)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10904967)
 * Apologies for the late reply! Yes, the site is running WP Super Cache (and Autoptimize),
   if I update your plugin, disable WP Super Cache, then the ticker and mobile menu
   seem to function on the main page, but I’m getting an easing error and non-functioning
   mobile menu on other pages. So something still seems to be causing an error. 
   For now I’ve disabled the ticker plugin again.
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10905681)
 * Could be due to Autoptimize, maybe re-try with Autoptimize disabled on a per-
   request basis by adding `?ao_noptimize=1` to the URL or temporarily disabling
   JS optimization.
 * if the problem is not there at that point, some autoptimize (re-)configuration
   might be needed to fix this. there are troubleshooting tips and info on how to
   exclude in [the AO FAQ](https://wordpress.org/plugins/autoptimize/#faq).
 * hope this helps debugging,
    frank (ao dev)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘JS easing conflict’ is closed to new replies.

 * ![](https://ps.w.org/ditty-news-ticker/assets/icon.svg?rev=2650696)
 * [Ditty – Responsive News Tickers, Sliders, and Lists](https://wordpress.org/plugins/ditty-news-ticker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ditty-news-ticker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ditty-news-ticker/)
 * [Active Topics](https://wordpress.org/support/plugin/ditty-news-ticker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ditty-news-ticker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ditty-news-ticker/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/js-easing-conflict/#post-10905681)
 * Status: not resolved