From: Anthony Talarico Date: Tue, 5 Feb 2019 15:09:43 +0000 (-0500) Subject: changing the $ to jQuery in front.js X-Git-Tag: v1.7.19^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=40d46a0cc06886be11a1f12869c040563736e020;p=WP-Plugins%2Fglm-member-db-events.git changing the $ to jQuery in front.js making all of the jQuery calls uniform by changing the $ calls to jQuery so it doesn't break on sites that don't have no conflict scripts or don't use $ as a dependency or augmentation --- diff --git a/js/front.js b/js/front.js index db65778..fd2defb 100644 --- a/js/front.js +++ b/js/front.js @@ -18,8 +18,8 @@ var EventFront = { var imgData = $(this).data('src'); var imgSrc = $(this).attr('src'); if ( imgData && imgSrc == undefined ) { - $(this).prop('src', imgData); - $(this).removeData('src'); + jQuery(this).prop('src', imgData); + jQuery(this).removeData('src'); } }); });