aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/overview.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-11 20:23:49 -0800
committerChris Rebert <[email protected]>2014-11-13 12:16:03 -0800
commitea407666ce3c5d708b4a830fb2d00bdcb0d2d53e (patch)
tree9eeca9971c60a66573b318299e47a933fa0a6886 /docs/_includes/js/overview.html
parent5660be42faef7fecdd9121e052265da55202ae3c (diff)
downloadbootstrap-ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e.tar.xz
bootstrap-ea407666ce3c5d708b4a830fb2d00bdcb0d2d53e.zip
give all docs callouts IDs
[skip sauce]
Diffstat (limited to 'docs/_includes/js/overview.html')
-rw-r--r--docs/_includes/js/overview.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html
index 4e4faa4a9..b95bb6c5f 100644
--- a/docs/_includes/js/overview.html
+++ b/docs/_includes/js/overview.html
@@ -4,12 +4,12 @@
<h3 id="js-individual-compiled">Individual or compiled</h3>
<p>Plugins can be included individually (using Bootstrap's individual <code>*.js</code> files), or all at once (using <code>bootstrap.js</code> or the minified <code>bootstrap.min.js</code>).</p>
- <div class="bs-callout bs-callout-danger">
+ <div class="bs-callout bs-callout-danger" id="callout-overview-not-both">
<h4>Using the compiled JavaScript</h4>
<p>Both <code>bootstrap.js</code> and <code>bootstrap.min.js</code> contain all plugins in a single file. Include only one.</p>
</div>
- <div class="bs-callout bs-callout-danger">
+ <div class="bs-callout bs-callout-danger" id="callout-overview-dependencies">
<h4>Plugin dependencies</h4>
<p>Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included <strong>before</strong> the plugin files). <a href="{{ site.repo }}/blob/v{{ site.current_version }}/bower.json">Consult our <code>bower.json</code></a> to see which versions of jQuery are supported.</p>
</div>
@@ -27,7 +27,7 @@ $(document).off('.data-api')
$(document).off('.alert.data-api')
{% endhighlight %}
- <div class="bs-callout bs-callout-danger">
+ <div class="bs-callout bs-callout-danger" id="callout-overview-single-data">
<h4>Only one plugin per element via data attributes</h4>
<p>Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a modal. To accomplish this, use a wrapping element.</p>
</div>