aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/js/alerts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html
index 04bbd43cf..de2ae9b84 100644
--- a/docs/_includes/js/alerts.html
+++ b/docs/_includes/js/alerts.html
@@ -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 %}