diff options
| author | Chris Rebert <[email protected]> | 2015-02-12 10:36:15 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-02-12 10:36:15 -0800 |
| commit | 19a6406ec4ca3b98a9a6a1aa205829117e07eab4 (patch) | |
| tree | deb105a2868a27edd036a97819ae22711b3331d3 /docs | |
| parent | 6379674f35771ffe007f11bd498ad39c4defe8a4 (diff) | |
| download | bootstrap-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.html | 10 |
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> |
