From 19a6406ec4ca3b98a9a6a1aa205829117e07eab4 Mon Sep 17 00:00:00 2001 From: Chris Rebert <github@rebertia.com> Date: Thu, 12 Feb 2015 10:36:15 -0800 Subject: [PATCH] fix indentation of highlighted code in Modal docs --- docs/_includes/js/modal.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 @@ </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> -- GitLab