Unverified Commit 01c8f180 authored by missionfloyd's avatar missionfloyd Committed by GitHub
Browse files

Close popups with escape key

parent c2ed4132
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -392,3 +392,9 @@ function extraNetworksRefreshSingleCard(page, tabname, name) {
        }
    });
}

window.addEventListener("keydown", function(event) {
    if (event.key == "Escape") {
        closePopup();
    }
});