Skip to content

Commit

Permalink
Fix typos in snippets.js (#36758)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwrobel committed Jul 17, 2022
1 parent ed44892 commit 6d101b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/assets/js/snippets.js
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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, {
Expand All @@ -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) {
Expand Down

0 comments on commit 6d101b1

Please sign in to comment.