aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html12
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>