diff options
Diffstat (limited to 'static/codecopy.js')
| -rw-r--r-- | static/codecopy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/codecopy.js b/static/codecopy.js index 4d100a8..f4d9f2b 100644 --- a/static/codecopy.js +++ b/static/codecopy.js @@ -28,10 +28,10 @@ async function ccc(button, highlightDiv) { const items = highlightDiv.querySelectorAll(":last-child > tr > td:last-child"); items.forEach(item => { codeToCopy = codeToCopy + item.innerText; - console.log(codeToCopy); + //console.log(codeToCopy); }); } else { - const codeToCopy = highlightDiv.querySelector(":last-child > code").innerText; + codeToCopy = highlightDiv.querySelector(":last-child > code").innerText; } try { result = await navigator.permissions.query({ name: "clipboard-write" }); |
