From 7b614cfa01eccfef02d85f2f82e0b13023ce7baa Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 17 Sep 2011 14:20:51 -0700 Subject: allow backdrop option to accept "static" option --- js/bootstrap-modal.js | 13 +++++++------ js/tests/unit/bootstrap-modal.js | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'js') diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 98e5d4301..d3e293ca8 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -89,7 +89,7 @@ that.$element .addClass('in') .trigger('shown') - }, 1) + }, 0) }) return this @@ -133,17 +133,19 @@ , animate = this.$element.hasClass('fade') ? 'fade' : '' if ( this.isShown && this.settings.backdrop ) { this.$backdrop = $('