Skip to content

Commit

Permalink
fix bug where calling hidePageSpinner() after multiple showPageSpinne…
Browse files Browse the repository at this point in the history
…r() would not hide all of them; fixes #92
  • Loading branch information
daattali committed Jun 28, 2024
1 parent 62815f7 commit 18e565c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinycssloaders
Title: Add Loading Animations to a 'shiny' Output While It's Recalculating
Version: 1.0.0.9011
Version: 1.0.0.9012
Authors@R: c(
person("Dean","Attali",email="[email protected]",role=c("aut","cre"),
comment = c("Maintainer/developer of shinycssloaders since 2019", ORCID="0000-0002-5645-3493")),
Expand Down
2 changes: 2 additions & 0 deletions R/pageSpinner.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ showPageSpinner <- function(
hide.ui = FALSE
)

hidePageSpinner()

spinner_container <- shiny::div(
id = "shinycssloaders-global-spinner",
style = paste("background:", background),
Expand Down

0 comments on commit 18e565c

Please sign in to comment.