when finishing a geoetry on mobile in the editor, don't break the UI
This commit is contained in:
parent
393637b6ad
commit
06589d10c9
1 changed files with 5 additions and 1 deletions
|
@ -1470,7 +1470,11 @@ editor = {
|
|||
const form = $('#sidebar').find('.content').find('form.creation-lock');
|
||||
form.removeClass('creation-lock')
|
||||
if (editor._creating_type !== 'multipoint') {
|
||||
form.find('input:not([type=hidden], .btn)').first().focus();
|
||||
if ($('#responsive_switch').is(':visible')) {
|
||||
$('#show_details').click();
|
||||
} else {
|
||||
form.find('input:not([type=hidden], .btn)').first().focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue