Skip to content

Commit

Permalink
Merge branch 'main' into 17-Deployment-yaml-template
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbielby authored Jan 20, 2025
2 parents 9ae7437 + 29d7d51 commit 6779a98
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion R/custom_disconnect_message.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,22 @@ custom_disconnect_message <- function(
" $(document).on('shiny:disconnected', function(event) {",
" $('#custom-disconnect-dialog').show();",
" $('#ss-overlay').show();",
" })",
" });",
"});"
)
),
tags$head(
tags$style(
htmltools::HTML(
"
/* Hide the default Shiny disconnect message */
#shiny-disconnected-overlay {
display: none !important;
}
"
)
)
),
tags$div(
id = "custom-disconnect-dialog",
style = "display: none !important;",
Expand Down

0 comments on commit 6779a98

Please sign in to comment.