From 0014c8b9fb63d02f0510acc7c6e26cbc4efb97d6 Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 21 Dec 2023 00:31:48 +0600 Subject: [PATCH] =?UTF-8?q?front:=20fixed=20quick=20=E2=8C=98+V=20pasting?= =?UTF-8?q?=20on=20mac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also rearranged list of crypto donation methods --- package.json | 2 +- src/config.json | 7 ++++--- src/front/cobalt.js | 2 +- src/modules/pageRender/page.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 43e293f7..d1d0a230 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cobalt", "description": "save what you love", - "version": "7.7.3", + "version": "7.7.4", "author": "wukko", "exports": "./src/cobalt.js", "type": "module", diff --git a/src/config.json b/src/config.json index 303af1ed..cd170594 100644 --- a/src/config.json +++ b/src/config.json @@ -45,12 +45,13 @@ }, "donations": { "crypto": { - "bitcoin": "18PKf6N2cHrmSzz9ZzTSvDd2jAkqGC7SxA", "monero": "4B1SNB6s8Pq1hxjNeKPEe8Qa8EP3zdL16Sqsa7QDoJcUecKQzEj9BMxWnEnTGu12doKLJBKRDUqnn6V9qfSdXpXi3Nw5Uod", + "bitcoin": "18PKf6N2cHrmSzz9ZzTSvDd2jAkqGC7SxA", + "litecoin": "ltc1qvp0xhrk2m7pa6p6z844qcslfyxv4p3vf95rhna", "ethereum": "0x4B4cF23051c78c7A7E0eA09d39099621c46bc302", - "ton": "UQA3SO-hHZq1oCCT--u6or6ollB8fd2o52aD8mXiLk9iDZd3", + "usdt-erc20": "0x4B4cF23051c78c7A7E0eA09d39099621c46bc302", "usdt-trc20": "TVbx7YT3rBfu931Gxko6pRfXtedYqbgnBB", - "litecoin": "ltc1qvp0xhrk2m7pa6p6z844qcslfyxv4p3vf95rhna" + "ton": "UQA3SO-hHZq1oCCT--u6or6ollB8fd2o52aD8mXiLk9iDZd3" }, "links": { "boosty": "https://boosty.to/wukko/donate" diff --git a/src/front/cobalt.js b/src/front/cobalt.js index 07a4a9b6..183716cb 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -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 diff --git a/src/modules/pageRender/page.js b/src/modules/pageRender/page.js index e782e25b..9e486169 100644 --- a/src/modules/pageRender/page.js +++ b/src/modules/pageRender/page.js @@ -122,7 +122,7 @@ export default function(obj) { }] }, { items: [{ - combo: "Ctrl+V", + combo: "⌘/Ctrl+V", name: t("KeyboardShortcutQuickPaste") }, { combo: "Esc",