From a6b9d5390d27ef8d277374055b35ff268794dc28 Mon Sep 17 00:00:00 2001 From: sashless Date: Mon, 8 Dec 2014 14:41:37 +0100 Subject: [PATCH] make it useable in xhtml documents --- src/modal/modal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modal/modal.js b/src/modal/modal.js index 662765d357..c52d53d0d2 100644 --- a/src/modal/modal.js +++ b/src/modal/modal.js @@ -247,13 +247,13 @@ angular.module('ui.bootstrap.modal', ['ui.bootstrap.transition']) if (currBackdropIndex >= 0 && !backdropDomEl) { backdropScope = $rootScope.$new(true); backdropScope.index = currBackdropIndex; - var angularBackgroundDomEl = angular.element('
'); + var angularBackgroundDomEl = angular.element('
'); angularBackgroundDomEl.attr('backdrop-class', modal.backdropClass); backdropDomEl = $compile(angularBackgroundDomEl)(backdropScope); body.append(backdropDomEl); } - var angularDomEl = angular.element('
'); + var angularDomEl = angular.element('
'); angularDomEl.attr({ 'template-url': modal.windowTemplateUrl, 'window-class': modal.windowClass,