Highlight the Save settings button when pressed

This commit is contained in:
cmdr2
2022-11-17 11:01:10 +05:30
parent 0c93c4754d
commit cc3186a683
4 changed files with 14 additions and 8 deletions

View File

@ -327,4 +327,7 @@ saveSettingsBtn.addEventListener('click', function() {
'update_branch': updateBranch,
'ui_open_browser_on_start': uiOpenBrowserOnStartField.checked
})
saveSettingsBtn.classList.add('active')
asyncDelay(300).then(() => saveSettingsBtn.classList.remove('active'))
})