Skip to content

Commit

Permalink
typo in infobox
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed Sep 15, 2021
1 parent acb1184 commit cb58ab4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/cards.R
Original file line number Diff line number Diff line change
Expand Up @@ -1032,11 +1032,11 @@ bs4InfoBox <- function(title, value = NULL, subtitle = NULL, icon = shiny::icon(
shiny::HTML(
paste0(
"$(function() {
$('#icon-", tabName, "').on('click', function() {
$('#tab-", tabName, ").click();
$('#icon-", tabName, "').on('click', function() {
$('#tab-", tabName, "').click();
});
});
});
"
"
)
)
)
Expand Down

0 comments on commit cb58ab4

Please sign in to comment.