mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-17 20:01:33 +02:00
fix: meta theme color flash issue
This commit is contained in:
parent
1040aff64c
commit
b1777ed0ef
3 changed files with 60 additions and 52 deletions
|
@ -26,7 +26,6 @@ function initScrollbar() {
|
|||
}
|
||||
}
|
||||
|
||||
document.addEventListener('theme-changed', initScrollbar)
|
||||
document.addEventListener('astro:after-swap', initScrollbar)
|
||||
initScrollbar()
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue