mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
make sure the progress bar always goes to 100% before removing
This commit is contained in:
parent
5a47b1bac2
commit
d9a3776183
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ define [
|
||||||
# flashControls()
|
# flashControls()
|
||||||
|
|
||||||
scope.$on "loaded", () ->
|
scope.$on "loaded", () ->
|
||||||
|
scope.progress = 100
|
||||||
|
scope.$apply()
|
||||||
$timeout () ->
|
$timeout () ->
|
||||||
scope.loading = false
|
scope.loading = false
|
||||||
delete scope.progress
|
delete scope.progress
|
||||||
|
|
Loading…
Reference in a new issue