From: Heinrich Fenkart Date: Fri, 4 Apr 2014 00:46:19 +0000 (+0200) Subject: Replace $.fn.bind with $.fn.on in alert docs X-Git-Tag: v3.2.0~270^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13272%2Fhead;p=thirdparty%2Fbootstrap.git Replace $.fn.bind with $.fn.on in alert docs --- diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index 04bbd43cfc..de2ae9b84d 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -64,7 +64,7 @@ {% highlight js %} -$('#my-alert').bind('closed.bs.alert', function () { +$('#my-alert').on('closed.bs.alert', function () { // do something… }) {% endhighlight %}