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

Commit

Permalink
fix(modal): ie8 fix after $modal rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
kfb authored and pkozlowski-opensource committed Aug 27, 2013
1 parent d870f21 commit ff9d969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modal/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ angular.module('ui.bootstrap.modal', [])

var backdropDomEl;
if (modal.backdrop) {
backdropDomEl = $compile(angular.element('<modal-backdrop>'))($rootScope);
backdropDomEl = $compile(angular.element('<div modal-backdrop></div>'))($rootScope);
body.append(backdropDomEl);
}
var modalDomEl = $compile(angular.element('<modal-window>').html(modal.content))(modal.scope);
var modalDomEl = $compile(angular.element('<div modal-window></div>').html(modal.content))(modal.scope);
body.append(modalDomEl);


Expand Down

0 comments on commit ff9d969

Please sign in to comment.