Commit b94306d2 authored by Heinrich Fenkart's avatar Heinrich Fenkart

Replace $.fn.bind with $.fn.on in alert docs

parent 8ca18287
......@@ -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