1
0
Fork 0
forked from jriou/coller

Compare commits

..

3 commits

Author SHA1 Message Date
2c4ce556dc
Release 1.3.1
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-10-14 08:08:47 +02:00
121971210a fix: use innerText instead of innerHTML (#47)
Reviewed-on: jriou/coller#47
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
Co-committed-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
2025-10-13 17:38:25 +02:00
020b50fb58 fix: add missing return in protected note create handler (#46)
Reviewed-on: jriou/coller#46
Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz>
Co-authored-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
Co-committed-by: Thibault Piron <thibault.piron.ext@ovhcloud.com>
2025-10-13 17:37:20 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
1.3.0
1.3.1

View file

@ -48,7 +48,7 @@
if (encryptionKey != "") {
copierCommand += "#" + encryptionKey;
}
document.getElementById("copierCommand").innerHTML = copierCommand;
document.getElementById("copierCommand").innerText = copierCommand;
document.getElementById("copier").addEventListener("click", () => {
document.getElementById("copierContainer").style.display = "";
});
@ -77,7 +77,7 @@
curlCommand += " -XPOST -d '" + payload + "'";
}
curlCommand += " " + window.location.origin + "/api/note/{{ .Note.ID }}";
document.getElementById("curlCommand").innerHTML = curlCommand;
document.getElementById("curlCommand").innerText = curlCommand;
document.getElementById("curl").addEventListener("click", () => {
document.getElementById("curlContainer").style.display = "";
});