Skip to content

Commit

Permalink
Reload button fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rushabh31 committed Aug 2, 2019
1 parent 9608fc3 commit 16c449b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ ui <- dashboardPage(
tags$head(tags$script(HTML("$(document).on('click', '.needed', function () {
Shiny.onInputChange('last_btn',this.id);
});"))),
tags$head(tags$script(HTML("$('#update_btn').click(function(){
$('#primaryButton').click();"))),
shinyjs::extendShinyjs(text = "shinyjs.refresh = function() { location.reload(); }"),


tabItem("summary",
fluidRow(
Expand Down

0 comments on commit 16c449b

Please sign in to comment.