aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-04-04 02:46:19 +0200
committerHeinrich Fenkart <[email protected]>2014-04-04 02:46:19 +0200
commitb94306d29bd4de8b16c81c39d7e6a639320a5284 (patch)
tree2e98584d13698c08b5198d13e34f3f9890aadb66 /docs/_includes
parent8ca182876debea1eb28c983606267b2bf9aa585d (diff)
downloadbootstrap-b94306d29bd4de8b16c81c39d7e6a639320a5284.tar.xz
bootstrap-b94306d29bd4de8b16c81c39d7e6a639320a5284.zip
Replace $.fn.bind with $.fn.on in alert docs
Diffstat (limited to 'docs/_includes')
-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 %}