From: Steve Sutton Date: Tue, 19 Feb 2019 18:46:25 +0000 (-0500) Subject: Update js live call to on X-Git-Tag: v2.12.0^2~34 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cf9d64d7c976e3d14852ab25b8dec07105067e64;p=WP-Plugins%2Fglm-member-db.git Update js live call to on Replacing live call with on. --- diff --git a/js/leaflet-area-map.js b/js/leaflet-area-map.js index 90c2a144..642dc21a 100644 --- a/js/leaflet-area-map.js +++ b/js/leaflet-area-map.js @@ -351,7 +351,7 @@ var GlmMap = { infoWindow.setContent(html); infoWindow.open(map, marker); - jQuery(".addToPlanner a:first").live('click', function() { + jQuery(".addToPlanner a:first").on('click', function() { if (jQuery(this).text() == 'Add To Planner') { jQuery.get(jQuery(this).attr('href')); jQuery(".addToPlanner a:first").hide();