Docs: change clipboard cursor type to pointer (#19064)

This commit is contained in:
ynfle 2021-10-28 11:02:18 +03:00 • committed by GitHub
commit c80e2c1736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -360,6 +360,7 @@ proc copyToClipboard*() {.exportc.} =
const button = document.createElement("button") const button = document.createElement("button")
button.value = e.textContent.replace('...', '') button.value = e.textContent.replace('...', '')
button.classList.add("copyToClipBoardBtn") button.classList.add("copyToClipBoardBtn")
button.style = "cursor: pointer"
div.appendChild(preTag) div.appendChild(preTag)
div.appendChild(button) div.appendChild(button)