misc: re-add wait spinner
This commit is contained in:
1 parent
c9281d0486
commit
cee02cbc99
2 files changed
+3
-1
No files matched your search
@@ -42,9 +42,11 @@
|
||||
$: {
|
||||
if (browser) {
|
||||
if ($navigating) {
|
||||
document.body.classList.toggle('wait', true)
|
||||
barTimeout = setTimeout(() => nProgress.start(), 100)
|
||||
}
|
||||
if (!$navigating) {
|
||||
document.body.classList.toggle('wait', false)
|
||||
clearTimeout(barTimeout)
|
||||
nProgress.done()
|
||||
}
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ body {
|
||||
}
|
||||
|
||||
.wait * {
|
||||
cursor: progress !important;
|
||||
cursor: wait !important;
|
||||
}
|
||||
|
||||
#nprogress {
|
||||
|
||||
Reference in new issue
Block a user