From 40d46a0cc06886be11a1f12869c040563736e020 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 5 Feb 2019 10:09:43 -0500 Subject: [PATCH] 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 --- js/front.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); } }); }); -- 2.17.1