aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-04-03 18:03:09 -0700
committerChris Rebert <[email protected]>2014-04-03 18:03:09 -0700
commitf6d1a733f58f76864a137fa1d26db358dc2e9460 (patch)
tree2e98584d13698c08b5198d13e34f3f9890aadb66 /docs
parent8ca182876debea1eb28c983606267b2bf9aa585d (diff)
parentb94306d29bd4de8b16c81c39d7e6a639320a5284 (diff)
downloadbootstrap-f6d1a733f58f76864a137fa1d26db358dc2e9460.tar.xz
bootstrap-f6d1a733f58f76864a137fa1d26db358dc2e9460.zip
Merge pull request #13272 from hnrch02/banish-bind
Replace $.fn.bind with $.fn.on in alert docs
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/js/alerts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html
index 04bbd43cf..de2ae9b84 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -64,7 +64,7 @@
</table>
</div><!-- /.table-responsive -->
{% highlight js %}
-$('#my-alert').bind('closed.bs.alert', function () {
+$('#my-alert').on('closed.bs.alert', function () {
// do something…
})
{% endhighlight %}