aboutsummaryrefslogtreecommitdiff
path: root/src/lib/layout/Loader.svelte
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-21 21:27:59 -0600
committermat <github@matdoes.dev>2022-02-21 21:27:59 -0600
commit2071203061bfbb18f2c1991b45556b8ec47536a8 (patch)
treeff654467ee6c1e2170e092b3af31711c1af8657d /src/lib/layout/Loader.svelte
parentc680e2463046f4123f6ef3710e5cf9655cf3da57 (diff)
downloadskyblock-stats-2071203061bfbb18f2c1991b45556b8ec47536a8.tar.gz
skyblock-stats-2071203061bfbb18f2c1991b45556b8ec47536a8.tar.bz2
skyblock-stats-2071203061bfbb18f2c1991b45556b8ec47536a8.zip
lazy-load collapsible when js is enabled
makes page load a tiny bit faster
Diffstat (limited to 'src/lib/layout/Loader.svelte')
-rw-r--r--src/lib/layout/Loader.svelte2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/layout/Loader.svelte b/src/lib/layout/Loader.svelte
index 524d975..901a780 100644
--- a/src/lib/layout/Loader.svelte
+++ b/src/lib/layout/Loader.svelte
@@ -5,7 +5,6 @@
let opacity = 1
function navigationStart() {
- console.log('navigation start')
widthTransitionDuration = 0
opacity = 1
progress = 0
@@ -15,7 +14,6 @@
})
}
function navigationEnd() {
- console.log('navigation end', widthTransitionDuration)
opacity = 0
setTimeout(() => {
widthTransitionDuration = 0