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:
Sunil Mohan Adapa 2025-08-18 21:08:21 -07:00 committed by Veiko Aasa
parent 6327a04ea0
commit 4e1ee2371f
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

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