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

Commit

Permalink
Bugfix: Close unclosed span tag to prevend error in Internet Explorer 8
Browse files Browse the repository at this point in the history
  • Loading branch information
eduards committed Oct 24, 2015
1 parent 09ef4d7 commit e29c0b2
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 e29c0b2

Please sign in to comment.