don't close popup when clicking inside it
This commit is contained in:
parent
d2e9a57343
commit
660d7590ea
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ c3nav = {
|
||||||
if (c3nav.current_locationinput && !$(e.target).is('#autocomplete *, #' + c3nav.current_locationinput + ' *')) {
|
if (c3nav.current_locationinput && !$(e.target).is('#autocomplete *, #' + c3nav.current_locationinput + ' *')) {
|
||||||
c3nav._locationinput_reset_autocomplete();
|
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();
|
c3nav._click_anywhere_popup.remove();
|
||||||
}
|
}
|
||||||
if (!$(e.target).is('#search *')) {
|
if (!$(e.target).is('#search *')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue