misc: tweak measuring
This commit is contained in:
1 parent
86f4bec26d
commit
d936f8f035
2 files changed
+4
-1
No files matched your search
@@ -40,9 +40,11 @@
|
||||
if (browser) {
|
||||
if ($navigating) {
|
||||
nProgress.start()
|
||||
console.log(`saving scroll at ${window.scrollY}`)
|
||||
}
|
||||
if (!$navigating) {
|
||||
nProgress.done()
|
||||
console.log(`scrolling to ${window.scrollY}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user