diff --git a/docs/_assets/js/custom.js b/docs/_assets/js/custom.js index 4c14d9e9f..8bc65a386 100644 --- a/docs/_assets/js/custom.js +++ b/docs/_assets/js/custom.js @@ -14,13 +14,19 @@ event.preventDefault(); }) - $('.bs-component [data-toggle="popover"]').popover(); - $('.bs-component [data-toggle="tooltip"]').tooltip(); $('.bs-component').each(function () { + var $component = $(this); var $button = $(''); - $(this).append($button); + $component.append($button); + + if ($component.find('[data-toggle="tooltip"]').length > 0) { + $component.attr('data-html', $component.html()); + } }); + $('.bs-component [data-toggle="popover"]').popover(); + $('.bs-component [data-toggle="tooltip"]').tooltip(); + $('body').on('click', '.source-button', function (event) { event.preventDefault(); diff --git a/docs/cerulean/index.html b/docs/cerulean/index.html index effb25f69..c34e52840 100644 --- a/docs/cerulean/index.html +++ b/docs/cerulean/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/cosmo/index.html b/docs/cosmo/index.html index 5d52f279f..388b75c92 100644 --- a/docs/cosmo/index.html +++ b/docs/cosmo/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/cyborg/index.html b/docs/cyborg/index.html index 968be9635..bb2e1cf01 100644 --- a/docs/cyborg/index.html +++ b/docs/cyborg/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/darkly/index.html b/docs/darkly/index.html index 1ed79085e..53991f994 100644 --- a/docs/darkly/index.html +++ b/docs/darkly/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/default/index.html b/docs/default/index.html index a63f0c856..a4596cc5e 100644 --- a/docs/default/index.html +++ b/docs/default/index.html @@ -1473,7 +1473,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/flatly/index.html b/docs/flatly/index.html index b28f736d5..4a1a9746c 100644 --- a/docs/flatly/index.html +++ b/docs/flatly/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/journal/index.html b/docs/journal/index.html index 823517169..9fb52abb5 100644 --- a/docs/journal/index.html +++ b/docs/journal/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/litera/index.html b/docs/litera/index.html index ae9108f50..6a3bb5d16 100644 --- a/docs/litera/index.html +++ b/docs/litera/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/lumen/index.html b/docs/lumen/index.html index 8a22b50fa..2007879ae 100644 --- a/docs/lumen/index.html +++ b/docs/lumen/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/lux/index.html b/docs/lux/index.html index 7b07ccb3a..8a86c5609 100644 --- a/docs/lux/index.html +++ b/docs/lux/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/materia/index.html b/docs/materia/index.html index ca6017a00..6dd604785 100644 --- a/docs/materia/index.html +++ b/docs/materia/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/minty/index.html b/docs/minty/index.html index 16d86111a..45a5cfa5f 100644 --- a/docs/minty/index.html +++ b/docs/minty/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/pulse/index.html b/docs/pulse/index.html index b95ffe49a..835968401 100644 --- a/docs/pulse/index.html +++ b/docs/pulse/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/sandstone/index.html b/docs/sandstone/index.html index a2e64f0c1..396c8cf20 100644 --- a/docs/sandstone/index.html +++ b/docs/sandstone/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/simplex/index.html b/docs/simplex/index.html index a00e44456..06e7cd1fc 100644 --- a/docs/simplex/index.html +++ b/docs/simplex/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/sketchy/index.html b/docs/sketchy/index.html index efac388f0..1e6bcff7c 100644 --- a/docs/sketchy/index.html +++ b/docs/sketchy/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/slate/index.html b/docs/slate/index.html index e4e91ed40..7f8cf6029 100644 --- a/docs/slate/index.html +++ b/docs/slate/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/solar/index.html b/docs/solar/index.html index 55191ab0d..d6a0e6b31 100644 --- a/docs/solar/index.html +++ b/docs/solar/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/spacelab/index.html b/docs/spacelab/index.html index 7f91a11f3..471d8b29e 100644 --- a/docs/spacelab/index.html +++ b/docs/spacelab/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/superhero/index.html b/docs/superhero/index.html index a57f54294..95f4432f4 100644 --- a/docs/superhero/index.html +++ b/docs/superhero/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/united/index.html b/docs/united/index.html index 8a08b4c3a..54794d989 100644 --- a/docs/united/index.html +++ b/docs/united/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+
diff --git a/docs/yeti/index.html b/docs/yeti/index.html index 7ae654d0d..143aa1cbc 100644 --- a/docs/yeti/index.html +++ b/docs/yeti/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+