mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-05-30 05:50:05 +02:00
Ensure template editor scrolls to display buttons
This commit is contained in:
parent
b87f4e7cad
commit
5a728dbd7c
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ export function showTemplateEditor(show = true) {
|
|||
document.getElementById('templateFields').style.display = show ? '' : 'none';
|
||||
if (show) {
|
||||
document.getElementById('templateTextarea').focus();
|
||||
document.querySelector('#settingsModal .modal-content section').scrollTop = 9999;
|
||||
} else {
|
||||
clearTemplateEditor();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue