diff --git a/docs/index.html b/docs/index.html index 857af244..b24999c6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1644,7 +1644,7 @@
diff --git a/docs/javascript.html b/docs/javascript.html index d1692618..d5eb9873 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -182,15 +182,15 @@ $('#my-modal').bind('hidden', function () { diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index da670607..5c38a747 100644 --- a/js/bootstrap-modal.js +++ b/js/bootstrap-modal.js @@ -55,7 +55,7 @@ var Modal = function ( content, options ) { this.settings = $.extend({}, $.fn.modal.defaults) this.$element = $(content) - .delegate('.close', 'click.modal', $.proxy(this.hide, this)) + .delegate('.js-dismiss', 'click.modal', $.proxy(this.hide, this)) if ( options ) { $.extend( this.settings, options )