|
|
@ -40,6 +40,7 @@
|
|
|
|
let form = document.getElementById('form')
|
|
|
|
let form = document.getElementById('form')
|
|
|
|
let message = document.getElementById('message');
|
|
|
|
let message = document.getElementById('message');
|
|
|
|
let copy = document.getElementById('copy');
|
|
|
|
let copy = document.getElementById('copy');
|
|
|
|
|
|
|
|
let email = document.getElementById('email');
|
|
|
|
let error = document.getElementById('error');
|
|
|
|
let error = document.getElementById('error');
|
|
|
|
let details = document.getElementById('details');
|
|
|
|
let details = document.getElementById('details');
|
|
|
|
let year = document.getElementById('year');
|
|
|
|
let year = document.getElementById('year');
|
|
|
@ -80,6 +81,12 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
email.onclick = function (event) {
|
|
|
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
|
|
|
window.location.href = "mailto:?body=" + encodeURIComponent(message.textContent);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
year.textContent = new Date().getFullYear();
|
|
|
|
year.textContent = new Date().getFullYear();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -179,6 +186,8 @@
|
|
|
|
<p id="message" style="width: 100%;"></p>
|
|
|
|
<p id="message" style="width: 100%;"></p>
|
|
|
|
<hr>
|
|
|
|
<hr>
|
|
|
|
<span id="copy" style="font-size: x-large">📋</span>
|
|
|
|
<span id="copy" style="font-size: x-large">📋</span>
|
|
|
|
|
|
|
|
 
|
|
|
|
|
|
|
|
<span id="email" style="font-size: x-large">📧</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<p id="error" style="color: red; font-weight: bold; display: none;"></p>
|
|
|
|
<p id="error" style="color: red; font-weight: bold; display: none;"></p>
|
|
|
|