2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

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

This commit is contained in:
Heinrich Fenkart
2014-04-04 02:46:19 +02:00
parent 8ca182876d
commit b94306d29b
+1 -1
View File
@@ -64,7 +64,7 @@
</table> </table>
</div><!-- /.table-responsive --> </div><!-- /.table-responsive -->
{% highlight js %} {% highlight js %}
$('#my-alert').bind('closed.bs.alert', function () { $('#my-alert').on('closed.bs.alert', function () {
// do something… // do something…
}) })
{% endhighlight %} {% endhighlight %}