Skip to content

best way to save what you love

front: fixed quick ⌘+V pasting on mac

wukko0014c8b9fb63
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",