diff options
| author | Mark Otto <[email protected]> | 2014-02-08 15:46:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-08 15:46:51 -0800 |
| commit | 06e6affa4ab86ea67fefc59386e6e2d6c53cc209 (patch) | |
| tree | 05cc5a18c23f08345233a4785d1daa52bb452778 /docs/javascript.html | |
| parent | b683433f672525cbbe25a4d5aa928610a66ea030 (diff) | |
| parent | bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c (diff) | |
| download | bootstrap-06e6affa4ab86ea67fefc59386e6e2d6c53cc209.tar.xz bootstrap-06e6affa4ab86ea67fefc59386e6e2d6c53cc209.zip | |
Merge pull request #12645 from ZDroid/docs-js-semicolons
Omit semicolons consistently in docs
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index 7cd9ede49..2d42da203 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1444,10 +1444,10 @@ $('#my-alert').bind('closed.bs.alert', function () { </button> <script> $('#loading-example-btn').click(function () { - var btn = $(this); - btn.button('loading'); + var btn = $(this) + btn.button('loading') $.ajax(...).always(function () { - btn.button('reset'); + btn.button('reset') }); }); </script> @@ -1552,10 +1552,10 @@ $('.btn').button() <button id="loading-example-btn" type="button" class="btn btn-primary" data-loading-text="loading stuff...">...</button> <script> $('#loading-example-btn').click(function () { - var btn = $(this); - btn.button('loading'); + var btn = $(this) + btn.button('loading') $.ajax(...).always(function () { - btn.button('reset'); + btn.button('reset') }); }); </script> |
