This commit is contained in:
Zhora Shalyapin 2025-02-25 08:14:21 +00:00
parent 02a2bbcd1b
commit e3efcaa624

View File

@ -117,7 +117,7 @@
let lat = document.querySelector(`input[name="cp[lattitude]"]`).value
let lon = document.querySelector(`input[name="cp[longitude]"]`).value
const text = new Blob([`(${lat}, ${lon})`], { type: "text/plain" });
const text = new Blob([`${lat}, ${lon}`], { type: "text/plain" });
const data = new ClipboardItem({ "text/plain": text });
await navigator.clipboard.write([data]);
})