projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2abcdb4
)
Update js live call to on
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 19 Feb 2019 18:46:25 +0000
(13:46 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 19 Feb 2019 18:46:25 +0000
(13:46 -0500)
Replacing live call with on.
js/leaflet-area-map.js
patch
|
blob
|
history
diff --git
a/js/leaflet-area-map.js
b/js/leaflet-area-map.js
index
90c2a14
..
642dc21
100644
(file)
--- 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();