mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ui: Fix missing semicolon in JS file
- Mostly for styling and just to fix the linter. Tests: - After package availability check in bepasty page, 'Install' button is enabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
6327a04ea0
commit
4e1ee2371f
@ -226,7 +226,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
function setInstallButtonState(enable) {
|
||||
const installButton = document.querySelector('.install-button');
|
||||
if (enable)
|
||||
installButton?.removeAttribute('disabled')
|
||||
installButton?.removeAttribute('disabled');
|
||||
else
|
||||
installButton?.setAttribute('disabled', 'disabled');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user