Commit f6d1a733 authored by Chris Rebert's avatar Chris Rebert

Merge pull request #13272 from hnrch02/banish-bind

Replace $.fn.bind with $.fn.on in alert docs
parents 8ca18287 b94306d2
......@@ -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 %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment