Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #31 from eduards/master
Browse files Browse the repository at this point in the history
Bugfix: Close unclosed span tag to prevend error in Internet Explorer 8
  • Loading branch information
e0ipso committed Oct 24, 2015
2 parents 09ef4d7 + e29c0b2 commit a17dd8c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions message-center.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,12 @@ MessageCenterModule.
<div class="alert alert-{{ message.type }} {{ animation }}" ng-repeat="message in mcMessages">\
<a class="close" ng-click="message.close();" data-dismiss="alert" aria-hidden="true">&times;</a>\
<span ng-switch on="message.html">\
<span ng-switch-when="true">\
<span ng-bind-html="message.message"></span>\
</span>\
<span ng-switch-default>\
{{ message.message }}\
<span ng-switch-when="true">\
<span ng-bind-html="message.message"></span>\
</span>\
<span ng-switch-default>\
{{ message.message }}\
</span>\
</span>\
</div>\
</div>\
Expand Down

0 comments on commit a17dd8c

Please sign in to comment.