don't close popup when clicking inside it

This commit is contained in:
Laura Klünder 2017-12-16 19:41:37 +01:00
parent d2e9a57343
commit 660d7590ea

View file

@ -669,7 +669,7 @@ c3nav = {
if (c3nav.current_locationinput && !$(e.target).is('#autocomplete *, #' + c3nav.current_locationinput + ' *')) {
c3nav._locationinput_reset_autocomplete();
}
if (c3nav._click_anywhere_popup && !$(e.target).is('.leaflet-popup > *')) {
if (c3nav._click_anywhere_popup && !$(e.target).is('.leaflet-popup *')) {
c3nav._click_anywhere_popup.remove();
}
if (!$(e.target).is('#search *')) {