From cb58ab49f53e5d71244bfbaf2e32743fa976af26 Mon Sep 17 00:00:00 2001 From: DivadNojnarg Date: Wed, 15 Sep 2021 23:59:25 +0200 Subject: [PATCH] typo in infobox --- R/cards.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/cards.R b/R/cards.R index 47960e91..aa383845 100644 --- a/R/cards.R +++ b/R/cards.R @@ -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(); + }); }); - }); - " + " ) ) )