diff --git a/src/front/cobalt.js b/src/front/cobalt.js index 1efe64be..0c89dec2 100644 --- a/src/front/cobalt.js +++ b/src/front/cobalt.js @@ -128,7 +128,7 @@ const copy = (id, data) => { if (data) { navigator.clipboard.writeText(data) } else { - navigator.clipboard.writeText(e.innerText) + navigator.clipboard.writeText(target.textContent) } }