diff --git a/components/layout/pw-header.vue b/components/layout/pw-header.vue index a707023ed..bd4d5aefe 100644 --- a/components/layout/pw-header.vue +++ b/components/layout/pw-header.vue @@ -239,7 +239,7 @@
- Alt+D + Alt+X
diff --git a/pages/index.vue b/pages/index.vue index 0d71340ac..a4010fd7e 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -2718,19 +2718,19 @@ export default { this.showModal = this.showTokenList = this.showTokenRequestList = this.showRequestModal = false this.isHidden = true } - if (e.key === "G" && e.altKey) { + if ((e.key === "g" || e.key === "G") && e.altKey) { this.method = "GET" } - if (e.key === "H" && e.altKey) { + if ((e.key === "h" || e.key === "H") && e.altKey) { this.method = "HEAD" } - if (e.key === "P" && e.altKey) { + if ((e.key === "p" || e.key === "P") && e.altKey) { this.method = "POST" } - if (e.key === "U" && e.altKey) { + if ((e.key === "u" || e.key === "U") && e.altKey) { this.method = "PUT" } - if (e.key === "D" && e.altKey) { + if ((e.key === "x" || e.key === "x") && e.altKey) { this.method = "DELETE" } if (e.key == "ArrowUp" && e.altKey && this.currentMethodIndex > 0) {