mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
perf: change listener from after-swap to page-load to improve view transition smoothness
- fix theme guide error - update readme
This commit is contained in:
parent
59297d534e
commit
3a002d61ca
13 changed files with 18 additions and 16 deletions
|
@ -61,7 +61,7 @@ function initWaline() {
|
|||
}
|
||||
|
||||
initWaline()
|
||||
document.addEventListener('astro:after-swap', initWaline)
|
||||
document.addEventListener('astro:page-load', initWaline)
|
||||
</script>
|
||||
|
||||
<!-- Custom CSS Styles >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue