Skip to content

Commit eec39a3

Browse files
committed
Fix status bar being hidden forever
1 parent 8505095 commit eec39a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

renderer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ function toggleUserInteraction(enabled) {
251251
searchField.disabled = !enabled;
252252
githubUrlInput.disabled = !enabled;
253253
manualInstallButton.disabled = !enabled;
254+
compileFilesCheckbox.disabled = !enabled;
255+
overwriteExistingCheckbox.disabled = !enabled;
254256
reloadDeviceListLink.style.pointerEvents = enabled ? 'auto' : 'none';
255257
boardItems.forEach(board => board.style.pointerEvents = enabled ? 'auto' : 'none');
256258

@@ -354,14 +356,12 @@ function showStatus(message, displayLoader = false, duration = null) {
354356
}
355357

356358
function hideStatus() {
357-
const statusBar = document.getElementById('status-bar');
358-
359359
// Remove the visible class to trigger the slide-up effect
360360
statusBar.classList.remove('visible');
361361

362362
// After the transition ends, hide the element
363363
setTimeout(() => {
364-
statusBar.style.display = 'none';
364+
statusBar.classList.add('hidden');
365365
}, 500); // Match this duration with the CSS transition duration
366366
}
367367

0 commit comments

Comments
 (0)