From 64176caa972fdf925fe244cdbf1d53d82da592f4 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 10 Sep 2011 22:14:57 -0700 Subject: add bootstrap-scrollspy --- js/bootstrap-modal.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/bootstrap-modal.js') diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index a7ab252eb..f1e795668 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -59,6 +59,7 @@ this.isShown = true _.escape.call(this) + _.backdrop.call(this, function () { that.$element .appendTo(document.body) @@ -133,6 +134,8 @@ $.support.transition && this.$element.hasClass('fade')? this.$backdrop.one(transitionEnd, removeElement) : removeElement() + } else { + callback() } } -- cgit v1.2.3