Skip to content

Commit

Permalink
Mark dropdown with active class correctly, closes rstudio/shiny#3519
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsievert committed Oct 1, 2021
1 parent d77f5ce commit 03ed2e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/navs-legacy.R
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ buildDropdown <- function(divTag, tabset) {

dropdown <- tags$li(
class = "dropdown",
class = if (active) "active",
tags$a(
href = "#",
class = "dropdown-toggle",
Expand Down

0 comments on commit 03ed2e4

Please sign in to comment.