Forums › Forums › Search & Filter Pro › Result looks destroyed
- This topic has 34 replies, 2 voices, and was last updated 5 years, 9 months ago by
Trevor.
-
Trevor(Private) May 11, 2020 at 7:49 pm #243447
This was the script that fixes the media player appearance and the buy button not working:
(function ( $ ) { "use strict"; $(document).on("sf:ajaxfinish", ".searchandfilter", function(){ $( window.wp.mediaelement.initialize ); $('input.edd-add-to-cart').css('display', "none"); $('a.edd-add-to-cart').addClass('edd-has-js'); }); }(jQuery)); -
AuthorPosts