]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Replace $.fn.bind with $.fn.on in alert docs 13272/head
authorHeinrich Fenkart <hnrch02@gmail.com>
Fri, 4 Apr 2014 00:46:19 +0000 (02:46 +0200)
committerHeinrich Fenkart <hnrch02@gmail.com>
Fri, 4 Apr 2014 00:46:19 +0000 (02:46 +0200)
docs/_includes/js/alerts.html

index 04bbd43cfc84d6c1c703e84a9fae947f8bb21e0f..de2ae9b84d68a77a65ec1024a5207d3b16c4f77b 100644 (file)
@@ -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 %}