Update location filter checkbox state correctly

This commit is contained in:
John Firebaugh 2013-07-19 15:04:55 -07:00
parent f080d161e0
commit 6edf633885

View file

@ -253,6 +253,9 @@ L.OSM.share = function (options) {
$('#link_marker, #embed_marker') $('#link_marker, #embed_marker')
.prop('checked', map.hasLayer(marker)); .prop('checked', map.hasLayer(marker));
$('#image_filter')
.prop('checked', locationFilter.isEnabled());
// Link // Link
$shortLink.attr('href', map.getShortUrl(marker)); $shortLink.attr('href', map.getShortUrl(marker));