mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-25 20:32:51 +01:00
Replace $.fn.bind with $.fn.on in alert docs
This commit is contained in:
parent
8ca182876d
commit
b94306d29b
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user