Open indigoxela opened 2 months ago
Saw it occasionally, while searching for something else:
https://github.com/search?q=repo%3Abackdrop-contrib%2Fip_geoloc+%29.bind%28&type=code
As of jQuery 3.0, .bind() has been deprecated (Backdrop CMS ships with jQuery 3.x by default).
https://api.jquery.com/bind/
Fixing is easy, use "on" instead. Like jQuery(document).on('leaflet.map', function(event, map, lMap) {
jQuery(document).on('leaflet.map', function(event, map, lMap) {
Saw it occasionally, while searching for something else:
https://github.com/search?q=repo%3Abackdrop-contrib%2Fip_geoloc+%29.bind%28&type=code
As of jQuery 3.0, .bind() has been deprecated (Backdrop CMS ships with jQuery 3.x by default).
https://api.jquery.com/bind/
Fixing is easy, use "on" instead. Like
jQuery(document).on('leaflet.map', function(event, map, lMap) {