front: fixed quick ⌘+V pasting on mac

also rearranged list of crypto donation methods
This commit is contained in:
wukko
2023-12-21 00:31:48 +06:00
parent 16397aed89
commit 0014c8b9fb
4 changed files with 7 additions and 6 deletions

View File

@@ -623,7 +623,7 @@ eid("url-input-area").addEventListener("keyup", (e) => {
})
document.onkeydown = (e) => {
if (!store.isPopupOpen) {
if (e.ctrlKey || e.key === "/") eid("url-input-area").focus();
if (e.metaKey || e.ctrlKey || e.key === "/") eid("url-input-area").focus();
if (e.key === "Escape" || e.key === "Clear") clearInput();
// top buttons