diff options
author | Mario <mario@mariovavti.com> | 2023-03-19 13:55:18 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-03-19 13:55:18 +0000 |
commit | 89285f1408d21091bb80d45b391ddcbe06ba8d0f (patch) | |
tree | b2eb07d9f3d91d77f89a4565a58e6e5231b20c1c /vendor/twbs/bootstrap/site/assets/js | |
parent | 0a679e503ef367eda3085c44af103ee53869a94f (diff) | |
parent | 17c0bb2069dcfe35d3febc5bfdb3a7295f15d49c (diff) | |
download | volse-hubzilla-8.2.tar.gz volse-hubzilla-8.2.tar.bz2 volse-hubzilla-8.2.zip |
Merge branch '8.2RC'8.2
Diffstat (limited to 'vendor/twbs/bootstrap/site/assets/js')
-rw-r--r-- | vendor/twbs/bootstrap/site/assets/js/code-examples.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/site/assets/js/snippets.js | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/site/assets/js/code-examples.js b/vendor/twbs/bootstrap/site/assets/js/code-examples.js index 25486c2fe..edb13598f 100644 --- a/vendor/twbs/bootstrap/site/assets/js/code-examples.js +++ b/vendor/twbs/bootstrap/site/assets/js/code-examples.js @@ -56,7 +56,7 @@ }) clipboard.on('success', event => { - const iconFirstChild = event.trigger.querySelector('.bi').firstChild + const iconFirstChild = event.trigger.querySelector('.bi').firstElementChild const tooltipBtn = bootstrap.Tooltip.getInstance(event.trigger) const namespace = 'http://www.w3.org/1999/xlink' const originalXhref = iconFirstChild.getAttributeNS(namespace, 'href') diff --git a/vendor/twbs/bootstrap/site/assets/js/snippets.js b/vendor/twbs/bootstrap/site/assets/js/snippets.js index 53f8a786e..43b8a095c 100644 --- a/vendor/twbs/bootstrap/site/assets/js/snippets.js +++ b/vendor/twbs/bootstrap/site/assets/js/snippets.js @@ -96,6 +96,15 @@ }) } + // -------- + // Carousels + // -------- + // Instantiate all non-autoplaying carousels in a docs or StackBlitz page + document.querySelectorAll('.carousel:not([data-bs-ride="carousel"])') + .forEach(carousel => { + bootstrap.Carousel.getOrCreateInstance(carousel) + }) + // ------------------------------- // Checks & Radios // ------------------------------- |