Fix settings

This commit is contained in:
jared committed 2026-01-08 23:16:29 -05:00
1 parent b781a44ed5
commit 83a1ba393a
5 files changed
+21 -322

No files matched your search

+9
View File
@@ -122,6 +122,15 @@ function closeSettingsModal() {
}
}
// Close modal when clicking on backdrop (outside the settings content)
function closeOnBackdropClick(event) {
const modal = document.getElementById('settingsModal');
// Only close if clicking directly on the modal backdrop, not on content
if (event.target === modal) {
closeSettingsModal();
}
}
// Keyboard shortcut to open settings (Alt+S)
document.addEventListener('keydown', (e) => {
if (e.altKey && e.key === 's') {