From: Chris Rebert Date: Thu, 12 Feb 2015 18:36:15 +0000 (-0800) Subject: fix indentation of highlighted code in Modal docs X-Git-Tag: v3.3.4~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a6406ec4ca3b98a9a6a1aa205829117e07eab4;p=thirdparty%2Fbootstrap.git fix indentation of highlighted code in Modal docs --- diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 87f228e998..d845795992 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -16,11 +16,11 @@

Due to how HTML5 defines its semantics, the autofocus HTML attribute has no effect in Bootstrap modals. To achieve the same effect, use some custom JavaScript:

- {% highlight js %} - $('#myModal').on('shown.bs.modal', function () { - $('#myInput').focus() - }) - {% endhighlight %} +{% highlight js %} +$('#myModal').on('shown.bs.modal', function () { + $('#myInput').focus() +}) +{% endhighlight %}

Examples