10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
const $ = (id) => document.getElementById(id);
|
|
|
|
$("contact-info-container").addEventListener("click", () => {
|
|
fetch("contact-info.obfuscated")
|
|
.then((response) => response.text())
|
|
.then((text) => {
|
|
id("contact-info-container").innerHTML = atob(text);
|
|
});
|
|
});
|