diff --git a/docs/_assets/js/custom.js b/docs/_assets/js/custom.js index afe494dee..4c14d9e9f 100644 --- a/docs/_assets/js/custom.js +++ b/docs/_assets/js/custom.js @@ -24,7 +24,9 @@ $('body').on('click', '.source-button', function (event) { event.preventDefault(); - var html = $(this).parent().html(); + var component = $(this).parent(); + var html = component.attr('data-html') ? component.attr('data-html') : component.html(); + html = cleanSource(html); $('#source-modal pre').text(html); $('#source-modal').modal(); diff --git a/docs/cerulean/index.html b/docs/cerulean/index.html index c34e52840..effb25f69 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 388b75c92..5d52f279f 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 bb2e1cf01..968be9635 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 53991f994..1ed79085e 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 a4596cc5e..a63f0c856 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 4a1a9746c..b28f736d5 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 9fb52abb5..823517169 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 6a3bb5d16..ae9108f50 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 2007879ae..8a22b50fa 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 8a86c5609..7b07ccb3a 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 6dd604785..ca6017a00 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 45a5cfa5f..16d86111a 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 835968401..b95ffe49a 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 396c8cf20..a2e64f0c1 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 06e7cd1fc..a00e44456 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 1e6bcff7c..efac388f0 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 7f8cf6029..e4e91ed40 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 d6a0e6b31..55191ab0d 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 471d8b29e..7f91a11f3 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 95f4432f4..a57f54294 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 54794d989..8a08b4c3a 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 143aa1cbc..7ae654d0d 100644 --- a/docs/yeti/index.html +++ b/docs/yeti/index.html @@ -1476,7 +1476,7 @@

Popovers

Tooltips

-
+