Skip to content

Commit 6d101b1

Browse files
authoredJul 17, 2022
Fix typos in snippets.js (#36758)
1 parent ed44892 commit 6d101b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎site/assets/js/snippets.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// --------
2121
// Tooltips
2222
// --------
23-
// Instanciate all tooltips in a docs or StackBlitz page
23+
// Instantiate all tooltips in a docs or StackBlitz page
2424
document.querySelectorAll('[data-bs-toggle="tooltip"]')
2525
.forEach(tooltip => {
2626
new bootstrap.Tooltip(tooltip)
@@ -29,7 +29,7 @@
2929
// --------
3030
// Popovers
3131
// --------
32-
// Instanciate all popovers in a docs or StackBlitz page
32+
// Instantiate all popovers in a docs or StackBlitz page
3333
document.querySelectorAll('[data-bs-toggle="popover"]')
3434
.forEach(popover => {
3535
new bootstrap.Popover(popover)
@@ -50,7 +50,7 @@
5050
})
5151
}
5252

53-
// Instanciate all toasts in a docs page only
53+
// Instantiate all toasts in a docs page only
5454
document.querySelectorAll('.bd-example .toast')
5555
.forEach(toastNode => {
5656
const toast = new bootstrap.Toast(toastNode, {
@@ -60,7 +60,7 @@
6060
toast.show()
6161
})
6262

63-
// Instanciate all toasts in a docs page only
63+
// Instantiate all toasts in a docs page only
6464
const toastTrigger = document.getElementById('liveToastBtn')
6565
const toastLiveExample = document.getElementById('liveToast')
6666
if (toastTrigger) {

0 commit comments

Comments
 (0)
Please sign in to comment.