From b94306d29bd4de8b16c81c39d7e6a639320a5284 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Fri, 4 Apr 2014 02:46:19 +0200 Subject: [PATCH] Replace $.fn.bind with $.fn.on in alert docs --- docs/_includes/js/alerts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- 2.47.2