Skip to content

Commit

Permalink
snow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Dec 4, 2023
1 parent c4c6d2b commit 3dbdd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default defineNuxtConfig({
{ src: "/snow/snowfall.jquery.min.js" },
{
innerHTML:
"$(document).ready(function(){$(document).snowfall({flakeCount:100});});",
'$(document).ready(function(){$(document).snowfall(),new ResizeObserver(()=>{$(document).snowfall("clear"),$(document).snowfall()}).observe(document.body)});',
},
],
},
Expand Down

0 comments on commit 3dbdd03

Please sign in to comment.