mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #13272 from hnrch02/banish-bind
Replace $.fn.bind with $.fn.on in alert docs
This commit is contained in:
commit
f6d1a733f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue