mirror of
https://github.com/cyclotruc/gitingest.git
synced 2026-04-28 12:39:58 +00:00
Remove Snow
This commit is contained in:
parent
1f8a41a1ad
commit
5937b584fb
3 changed files with 0 additions and 114 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue