aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.1/examples/sidebars/sidebars.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-08-04 18:41:51 +0300
committerGitHub <[email protected]>2021-08-04 18:41:51 +0300
commitf20fece3a8cdd0e76a42c2737524b7652bf54d26 (patch)
tree83e62cc954b17a8bc21cd5975bfd88da721793d1 /site/content/docs/5.1/examples/sidebars/sidebars.js
parent7fcc2f4d526ff774a0a7de6b624a607e5ba47fb9 (diff)
downloadbootstrap-5.1.0.tar.xz
bootstrap-5.1.0.zip
Prepare v5.1.0. (#34674)v5.1.0
Diffstat (limited to 'site/content/docs/5.1/examples/sidebars/sidebars.js')
-rw-r--r--site/content/docs/5.1/examples/sidebars/sidebars.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/site/content/docs/5.1/examples/sidebars/sidebars.js b/site/content/docs/5.1/examples/sidebars/sidebars.js
new file mode 100644
index 000000000..68384c163
--- /dev/null
+++ b/site/content/docs/5.1/examples/sidebars/sidebars.js
@@ -0,0 +1,8 @@
+/* global bootstrap: false */
+(function () {
+ 'use strict'
+ var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
+ tooltipTriggerList.forEach(function (tooltipTriggerEl) {
+ new bootstrap.Tooltip(tooltipTriggerEl)
+ })
+})()