Skip to content

Commit

Permalink
Update R/verbatim_popup.R
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Nasinski <[email protected]>
  • Loading branch information
Polkas authored Dec 9, 2022
1 parent 69d25b1 commit ca587bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/verbatim_popup.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ verbatim_popup_srv <- function(id, verbatim_content, title, style = FALSE, disab
#' @param disabled (`reactive(1)`) the `shiny` reactive value holding a `logical`. The popup button is disabled
#' when the flag is `TRUE` and enabled otherwise.
button_click_observer <- function(click_event, copy_button_id, copied_area_id, modal_title, modal_content, disabled) {

shiny::observeEvent(
disabled(),
handlerExpr = {
Expand Down

0 comments on commit ca587bd

Please sign in to comment.