From da31a4fcdad34e3697633cafebbb90b8ce618600 Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Fri, 20 Feb 2015 11:35:59 -0800 Subject: [PATCH] Revert "Merge pull request #3044 from jiniguez/fix2280" This reverts commit f671e02e9712702b2f55947d9ead5783d991c439, reversing changes made to eec68d81f4f72363d37493c495b892347bdb9e1b. --- src/modal/modal.js | 5 ----- template/modal/window.html | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/modal/modal.js b/src/modal/modal.js index 72200d8924..662765d357 100644 --- a/src/modal/modal.js +++ b/src/modal/modal.js @@ -91,11 +91,6 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) element.addClass(attrs.windowClass || ''); scope.size = attrs.size; - // moved from template to fix issue #2280 - element.on('click', function(evt) { - scope.close(evt); - }); - $timeout(function () { // trigger CSS transitions scope.animate = true; diff --git a/template/modal/window.html b/template/modal/window.html index 249f6f9080..81ca197ebb 100644 --- a/template/modal/window.html +++ b/template/modal/window.html @@ -1,3 +1,3 @@ -