|
@@ -211,6 +211,11 @@
|
|
|
else {
|
|
|
$('.note-section.edit').removeClass('edit');
|
|
|
editParent.addClass('edit');
|
|
|
+ editParent[0].scrollIntoView({
|
|
|
+ behavior: 'auto',
|
|
|
+ block: "center",
|
|
|
+ inline: "center"
|
|
|
+ });
|
|
|
if(editParent.find('[autofocus]').length) {
|
|
|
editParent.find('[autofocus]').first().focus();
|
|
|
}
|