Return proper HTTP status for files with an abuse status

This commit is contained in:
2021-03-04 15:42:46 +01:00
parent 5e8598f112
commit b481db7b45
4 changed files with 31 additions and 14 deletions

View File

@@ -227,6 +227,9 @@ const keydown = e => {
if (e.ctrlKey || e.altKey || e.metaKey) {
return // prevent custom shortcuts from interfering with system shortcuts
}
if (document.activeElement.type && document.activeElement.type === "text") {
return // Prevent shortcuts from interfering with input fields
}
switch (e.key) {
case "Escape":