From: Tobias Lindig Date: Fri, 17 Jan 2014 12:21:57 +0000 (+0100) Subject: add namespace `.bs` also to the event `dismiss.modal` X-Git-Tag: v3.1.0~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=084f0fb11351e899decc33faf53ada85d29ea7fa;p=thirdparty%2Fbootstrap.git add namespace `.bs` also to the event `dismiss.modal` --- diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 7a734f7694..e9c5456581 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -829,7 +829,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap requires jQuery' this.escape() - this.$element.on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) + this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) this.backdrop(function () { var transition = $.support.transition && that.$element.hasClass('fade') @@ -882,7 +882,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap requires jQuery' this.$element .removeClass('in') .attr('aria-hidden', true) - .off('click.dismiss.modal') + .off('click.dismiss.bs.modal') $.support.transition && this.$element.hasClass('fade') ? this.$element @@ -934,7 +934,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap requires jQuery' this.$backdrop = $('