Remove Snow

This commit is contained in:
cyclotruc 2025-01-05 07:41:14 +00:00
parent 1f8a41a1ad
commit 5937b584fb
3 changed files with 0 additions and 114 deletions

View file

@ -84,16 +84,6 @@ function handleSubmit(event, showLoading = false) {
const starCount = currentStars;
// TEMPORARY SNOW LOGIC //
const parser = new DOMParser();
const newDoc = parser.parseFromString(html, 'text/html');
const existingCanvas = document.getElementById('snow-canvas');
document.body.innerHTML = newDoc.body.innerHTML;
if (existingCanvas) {
document.body.insertBefore(existingCanvas, document.body.firstChild);
}
// END TEMPORARY SNOW LOGIC //
// Wait for next tick to ensure DOM is updated
setTimeout(() => {