aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Wrobel <[email protected]>2022-07-17 20:54:34 +0200
committerGitHub <[email protected]>2022-07-17 20:54:34 +0200
commit6d101b15a4af000b32be236063e9e5b58385d077 (patch)
tree3e10c3e99909d823714dc611e5c6ec6677776aea
parented448925daa4fb20344f94e35c37dded9e0af8af (diff)
downloadbootstrap-6d101b15a4af000b32be236063e9e5b58385d077.tar.xz
bootstrap-6d101b15a4af000b32be236063e9e5b58385d077.zip
Fix typos in `snippets.js` (#36758)
-rw-r--r--site/assets/js/snippets.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/site/assets/js/snippets.js b/site/assets/js/snippets.js
index 640ff85c5..53f8a786e 100644
--- a/site/assets/js/snippets.js
+++ b/site/assets/js/snippets.js
@@ -20,7 +20,7 @@
// --------
// Tooltips
// --------
- // Instanciate all tooltips in a docs or StackBlitz page
+ // Instantiate all tooltips in a docs or StackBlitz page
document.querySelectorAll('[data-bs-toggle="tooltip"]')
.forEach(tooltip => {
new bootstrap.Tooltip(tooltip)
@@ -29,7 +29,7 @@
// --------
// Popovers
// --------
- // Instanciate all popovers in a docs or StackBlitz page
+ // Instantiate all popovers in a docs or StackBlitz page
document.querySelectorAll('[data-bs-toggle="popover"]')
.forEach(popover => {
new bootstrap.Popover(popover)
@@ -50,7 +50,7 @@
})
}
- // Instanciate all toasts in a docs page only
+ // Instantiate all toasts in a docs page only
document.querySelectorAll('.bd-example .toast')
.forEach(toastNode => {
const toast = new bootstrap.Toast(toastNode, {
@@ -60,7 +60,7 @@
toast.show()
})
- // Instanciate all toasts in a docs page only
+ // Instantiate all toasts in a docs page only
const toastTrigger = document.getElementById('liveToastBtn')
const toastLiveExample = document.getElementById('liveToast')
if (toastTrigger) {