Skip to content

Commit b518bd8

Browse files
authored
Update CDN links (#1109)
* Update Bootstrap CDN links * Update icon links
1 parent 788c1c8 commit b518bd8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/docs/themes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ See the [available themes](#available-themes) for more.
3939
Each theme such as is simply a BootstrapCDN URL stored as a string, so using the themes module is really equivalent to doing something like the following.
4040

4141
```python
42-
BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
42+
BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css"
4343
app = dash.Dash(external_stylesheets=[BS])
4444
```
4545

@@ -83,7 +83,7 @@ Here's a callback to change the theme:
8383
clientside_callback(
8484
" " "
8585
(switchOn) => {
86-
document.documentElement.setAttribute("data-bs-theme", switchOn ? "light" : "dark");
86+
document.documentElement.setAttribute("data-bs-theme", switchOn ? "light" : "dark");
8787
return window.dash_clientside.no_update
8888
}
8989
" " ",

templates/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
6-
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous" />
6+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous" />
77
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.13.1/build/styles/tomorrow-night-eighties.min.css" />
88
<link rel="stylesheet" href="/static/docs.css" />
99
<link rel="shortcut icon" type="image/x-icon" href="/static/images/favicon.ico" />

templates/partials/scripts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
1+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
22
<script src="/static/js/v2-alert.js"></script>
33
<script src="/static/js/highlight.min.js"></script>
44
<script>

0 commit comments

Comments
 (0)