mirror of
https://codeberg.org/theamazing0/portfolio.git
synced 2025-10-30 02:12:19 -04:00
Removed console.logs
This commit is contained in:
parent
d25d8dbb75
commit
5819416a7e
1 changed files with 0 additions and 3 deletions
|
|
@ -165,8 +165,6 @@ function encryptString(input: string, difficultyPrefix = "0000") {
|
||||||
async function decryptData(e: Event) {
|
async function decryptData(e: Event) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
console.log("decrypting data");
|
|
||||||
|
|
||||||
const detailsDiv = document.getElementById("details-div");
|
const detailsDiv = document.getElementById("details-div");
|
||||||
if (detailsDiv) {
|
if (detailsDiv) {
|
||||||
const encryptedDetails = detailsDiv.dataset.encrypted;
|
const encryptedDetails = detailsDiv.dataset.encrypted;
|
||||||
|
|
@ -235,7 +233,6 @@ function encryptString(input: string, difficultyPrefix = "0000") {
|
||||||
const decodeBtn = document.getElementById("decode-btn");
|
const decodeBtn = document.getElementById("decode-btn");
|
||||||
if (decodeBtn) {
|
if (decodeBtn) {
|
||||||
decodeBtn.addEventListener("click", decryptData);
|
decodeBtn.addEventListener("click", decryptData);
|
||||||
console.log("Adding eventlistener");
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue