Ensure template editor scrolls to display buttons

This commit is contained in:
Robbie Antenesse 2020-08-03 16:17:18 -06:00
parent b87f4e7cad
commit 5a728dbd7c
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}