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

@ -1,7 +1,7 @@
{ {
"name": "cobalt", "name": "cobalt",
"description": "save what you love", "description": "save what you love",
"version": "7.7.3", "version": "7.7.4",
"author": "wukko", "author": "wukko",
"exports": "./src/cobalt.js", "exports": "./src/cobalt.js",
"type": "module", "type": "module",

View file

@ -45,12 +45,13 @@
}, },
"donations": { "donations": {
"crypto": { "crypto": {
"bitcoin": "18PKf6N2cHrmSzz9ZzTSvDd2jAkqGC7SxA",
"monero": "4B1SNB6s8Pq1hxjNeKPEe8Qa8EP3zdL16Sqsa7QDoJcUecKQzEj9BMxWnEnTGu12doKLJBKRDUqnn6V9qfSdXpXi3Nw5Uod", "monero": "4B1SNB6s8Pq1hxjNeKPEe8Qa8EP3zdL16Sqsa7QDoJcUecKQzEj9BMxWnEnTGu12doKLJBKRDUqnn6V9qfSdXpXi3Nw5Uod",
"bitcoin": "18PKf6N2cHrmSzz9ZzTSvDd2jAkqGC7SxA",
"litecoin": "ltc1qvp0xhrk2m7pa6p6z844qcslfyxv4p3vf95rhna",
"ethereum": "0x4B4cF23051c78c7A7E0eA09d39099621c46bc302", "ethereum": "0x4B4cF23051c78c7A7E0eA09d39099621c46bc302",
"ton": "UQA3SO-hHZq1oCCT--u6or6ollB8fd2o52aD8mXiLk9iDZd3", "usdt-erc20": "0x4B4cF23051c78c7A7E0eA09d39099621c46bc302",
"usdt-trc20": "TVbx7YT3rBfu931Gxko6pRfXtedYqbgnBB", "usdt-trc20": "TVbx7YT3rBfu931Gxko6pRfXtedYqbgnBB",
"litecoin": "ltc1qvp0xhrk2m7pa6p6z844qcslfyxv4p3vf95rhna" "ton": "UQA3SO-hHZq1oCCT--u6or6ollB8fd2o52aD8mXiLk9iDZd3"
}, },
"links": { "links": {
"boosty": "https://boosty.to/wukko/donate" "boosty": "https://boosty.to/wukko/donate"

View file

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

View file

@ -122,7 +122,7 @@ export default function(obj) {
}] }]
}, { }, {
items: [{ items: [{
combo: "Ctrl+V", combo: "⌘/Ctrl+V",
name: t("KeyboardShortcutQuickPaste") name: t("KeyboardShortcutQuickPaste")
}, { }, {
combo: "Esc", combo: "Esc",