Skip to content

Commit fa95894

Browse files
committed
Attach dependencies to render hook object; bump version
1 parent c80ee34 commit fa95894

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: shiny
22
Type: Package
33
Title: Web Application Framework for R
4-
Version: 1.6.0.9021
4+
Version: 1.6.0.9022
55
Authors@R: c(
66
person("Winston", "Chang", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0002-1576-2126")),
77
person("Joe", "Cheng", role = "aut", email = "[email protected]"),

R/bootstrap.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ bootstrapLib <- function(theme = NULL) {
9494
setCurrentTheme(theme)
9595
# For refreshing Bootstrap CSS when session$setCurrentTheme() happens
9696
if (isRunning()) registerThemeDependency(bs_theme_deps)
97-
bslib::bs_theme_dependencies(theme)
97+
attachDependencies(x, bslib::bs_theme_dependencies(theme))
9898
},
99-
.postRenderHook = function(x) {
99+
.postRenderHook = function() {
100100
if (!isRunning()) setCurrentTheme(oldTheme)
101101
NULL
102102
}

0 commit comments

Comments
 (0)