Deprecated jquery calls
-
jQuery(“button[class*=’btn-buy-shop’],button[class*=’single_add_to_cart_button’], button[class*=’add_to_cart’]”).click(function() {
should be replaced with:
jQuery(“button[class*=’btn-buy-shop’],button[class*=’single_add_to_cart_button’], button[class*=’add_to_cart’]”).on(‘click’, function() {
as per jquery migrate deprecations.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Deprecated jquery calls’ is closed to new replies.