From 753e1299f95966852de0a9ab1c56f3ba245894b9 Mon Sep 17 00:00:00 2001 From: andyquinterom Date: Wed, 12 Jan 2022 22:00:23 -0500 Subject: [PATCH] fixes switchInput not starting on ON with value = TRUE --- R/dependencies.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/dependencies.R b/R/dependencies.R index 781edf8e..98dcc9c6 100644 --- a/R/dependencies.R +++ b/R/dependencies.R @@ -278,10 +278,10 @@ html_dependency_bsswitch <- function() { bslib::bs_dependency_defer(bsswitchDependencyCSS), htmlDependency( name = "bootstrap-switch-js", - version = "3.4", + version = "3.3.4", package = "shinyWidgets", src = c(href = "shinyWidgets/bootstrap-switch", file = "assets/bootstrap-switch"), - script = "bootstrap-switch-3.4/bootstrap-switch.min.js" + script = "bootstrap-switch-3.3.4/bootstrap-switch.min.js" ) ) } @@ -290,10 +290,10 @@ bsswitchDependencyCSS <- function(theme) { if (!bslib::is_bs_theme(theme)) { return(htmlDependency( name = "bootstrap-switch-css", - version = "3.4", + version = "3.3.4", package = "shinyWidgets", src = c(href = "shinyWidgets/bootstrap-switch", file = "assets/bootstrap-switch"), - script = "bootstrap-switch-3.4/bootstrap-switch.min.js", + script = "bootstrap-switch-3.3.4/bootstrap-switch.min.js", stylesheet = "bootstrap-switch-3.4/bootstrap-switch.min.css" )) }