|
@@ -213,9 +213,10 @@
|
|
editParent.addClass('edit');
|
|
editParent.addClass('edit');
|
|
editParent[0].scrollIntoView({
|
|
editParent[0].scrollIntoView({
|
|
behavior: 'auto',
|
|
behavior: 'auto',
|
|
- block: "center",
|
|
|
|
|
|
+ block: "start",
|
|
inline: "center"
|
|
inline: "center"
|
|
});
|
|
});
|
|
|
|
+ $('html').scrollTop($('html').scrollTop() - 60);
|
|
if(editParent.find('[autofocus]').length) {
|
|
if(editParent.find('[autofocus]').length) {
|
|
editParent.find('[autofocus]').first().focus();
|
|
editParent.find('[autofocus]').first().focus();
|
|
}
|
|
}
|