Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit ff9d969

Browse files
kfbpkozlowski-opensource
kfb
authored andcommitted
fix(modal): ie8 fix after $modal rewrite
1 parent d870f21 commit ff9d969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modal/modal.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ angular.module('ui.bootstrap.modal', [])
135135

136136
var backdropDomEl;
137137
if (modal.backdrop) {
138-
backdropDomEl = $compile(angular.element('<modal-backdrop>'))($rootScope);
138+
backdropDomEl = $compile(angular.element('<div modal-backdrop></div>'))($rootScope);
139139
body.append(backdropDomEl);
140140
}
141-
var modalDomEl = $compile(angular.element('<modal-window>').html(modal.content))(modal.scope);
141+
var modalDomEl = $compile(angular.element('<div modal-window></div>').html(modal.content))(modal.scope);
142142
body.append(modalDomEl);
143143

144144

0 commit comments

Comments
 (0)