From ba0c6cd57c74be0438a5026d89c67be97f8694d3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 17 Jul 2013 23:33:34 -0700 Subject: [PATCH 1/2] make on prev js changes --- docs/assets/js/bootstrap.js | 13 +++++++------ docs/assets/js/bootstrap.min.js | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js index c562b88362..fa0cec602a 100644 --- a/docs/assets/js/bootstrap.js +++ b/docs/assets/js/bootstrap.js @@ -804,7 +804,7 @@ var Modal = function (element, options) { this.options = options - this.$element = $(element).delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) + this.$element = $(element).on('click.dismiss.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) this.$backdrop = this.isShown = null @@ -939,11 +939,12 @@ this.$backdrop = $('