jquery fix needed to prepare for wordpress 5.7
-
Hi-
Everything is fine for the moment, but giving you a heads up for a fix that will need to happen before the next wordpress core update. wordpress 5.6 brings the change to jQuery 3.5.1, with jQuery Migrate 3.3.2 also included as a bridge. When I disable jQuery Migrate I get the following in console:
Uncaught TypeError: e.indexOf is not a function load jQuery <anonymous> https://likeafishinwater.com/wp-content/wptouch-data/cache/wptouch-6e3adf72269dcd3f290cda07634fabdfa824d98e.js:15
Line 15 in that script is this:
function bindTappableEls(e){jQuery(e).each(function(){jQuery(this).tappable({touchDelay:74})})}jQuery(window).load(function(){bindTappableEls(".tappable, .show-hide-toggle, .slide-toggle, .menu-btn")}),jQuery(document).ajaxComplete(function(){bindTappableEls(".tappable, .show-hide-toggle, .slide-toggle, .menu-btn")});
Thanks
- This topic was modified 3 years, 4 months ago by .
- This topic was modified 3 years, 4 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘jquery fix needed to prepare for wordpress 5.7’ is closed to new replies.