Skip to content

Commit 992b3ee

Browse files
committed
revert commits 3133522 and 725abd9
1 parent 725abd9 commit 992b3ee

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

R/mod_edish.R

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,6 @@ edish_server <- function(
283283
mod_return_value <- NULL
284284
if (!is.null(on_sbj_click)) {
285285
shiny::observe({
286-
print(output$plot())
287-
# Below req is needed to avoid warning when plot object is not there
288-
# shiny::req(output$plot() != "{\"x\":null,\"evals\":[],\"jsHooks\":null,\"deps\":[]}")
289286
shiny::req(!is.null(plotly::event_data(
290287
event = "plotly_click",
291288
source = session[["ns"]]("plot"),
@@ -295,8 +292,6 @@ edish_server <- function(
295292
})
296293
mod_return_value <- list(
297294
subj_id = shiny::reactive({
298-
# Below req is needed to avoid warning when plot object is not there
299-
# shiny::req(output$plot() != "{\"x\":null,\"evals\":[],\"jsHooks\":null,\"deps\":[]}")
300295
plotly::event_data(
301296
event = "plotly_click",
302297
source = session[["ns"]]("plot"),

0 commit comments

Comments
 (0)