aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-02-12 10:36:15 -0800
committerChris Rebert <[email protected]>2015-02-12 10:36:15 -0800
commit19a6406ec4ca3b98a9a6a1aa205829117e07eab4 (patch)
treedeb105a2868a27edd036a97819ae22711b3331d3 /docs
parent6379674f35771ffe007f11bd498ad39c4defe8a4 (diff)
downloadbootstrap-19a6406ec4ca3b98a9a6a1aa205829117e07eab4.tar.xz
bootstrap-19a6406ec4ca3b98a9a6a1aa205829117e07eab4.zip
fix indentation of highlighted code in Modal docs
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/js/modal.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html
index 87f228e99..d84579599 100644
--- a/docs/_includes/js/modal.html
+++ b/docs/_includes/js/modal.html
@@ -16,11 +16,11 @@
</div>
<p><strong class="text-danger">Due to how HTML5 defines its semantics, the <code>autofocus</code> HTML attribute has no effect in Bootstrap modals.</strong> To achieve the same effect, use some custom JavaScript:</p>
- {% highlight js %}
- $('#myModal').on('shown.bs.modal', function () {
- $('#myInput').focus()
- })
- {% endhighlight %}
+{% highlight js %}
+$('#myModal').on('shown.bs.modal', function () {
+ $('#myInput').focus()
+})
+{% endhighlight %}
<h2 id="modals-examples">Examples</h2>