diff --git a/docs/index.html b/docs/index.html index 857af2448..b24999c62 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1644,7 +1644,7 @@
diff --git a/docs/javascript.html b/docs/javascript.html index d16926186..d5eb98739 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 da6706073..5c38a7477 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 )