Update location filter checkbox state correctly
This commit is contained in:
parent
f080d161e0
commit
6edf633885
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue