]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix typos in `snippets.js` (#36758)
authorMarc Wrobel <marc.wrobel@gmail.com>
Sun, 17 Jul 2022 18:54:34 +0000 (20:54 +0200)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 18:54:34 +0000 (20:54 +0200)
site/assets/js/snippets.js

index 640ff85c589f7feddaa8724b878e791eb810b2a5..53f8a786ec6fd286f3b9bdd3be9c428c992d44c0 100644 (file)
@@ -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) {