Unverified Commit cee1a406 authored by kaalibro's avatar kaalibro
Browse files

Fix linter issues

parent 1d42babd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -163,11 +163,13 @@ document.addEventListener('keydown', function(e) {
    }

    if (isEsc) {
        const globalPopup = document.querySelector('.global-popup');
        if (!globalPopup || globalPopup.style.display === "none") {
            interruptButton.click();
            e.preventDefault();
        } else {
            closePopup();
            if (!globalPopup) return;
            globalPopup.style.display = "none";
        }
    }
});