From: Marc Wrobel Date: Sun, 17 Jul 2022 18:54:34 +0000 (+0200) Subject: Fix typos in `snippets.js` (#36758) X-Git-Tag: v5.2.0~10 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d101b15a4af000b32be236063e9e5b58385d077;p=thirdparty%2Fbootstrap.git Fix typos in `snippets.js` (#36758) --- diff --git a/site/assets/js/snippets.js b/site/assets/js/snippets.js index 640ff85c58..53f8a786ec 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) {