Return proper HTTP status for files with an abuse status
This commit is contained in:
1 parent
5e8598f112
commit
b481db7b45
4 files changed
+31
-14
No files matched your search
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user