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

Commit

Permalink
fix(alert): update template to Bootstrap 3
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Dec 28, 2013
1 parent 76b485c commit dfc3b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alert/docs/demo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function AlertDemoCtrl($scope) {
$scope.alerts = [
{ type: 'error', msg: 'Oh snap! Change a few things up and try submitting again.' },
{ type: 'danger', msg: 'Oh snap! Change a few things up and try submitting again.' },
{ type: 'success', msg: 'Well done! You successfully read this important alert message.' }
];

Expand Down
2 changes: 1 addition & 1 deletion template/alert/alert.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='alert' ng-class='type && "alert-" + type'>
<div class='alert' ng-class='"alert-" + (type || "warning")'>
<button ng-show='closeable' type='button' class='close' ng-click='close()'>&times;</button>
<div ng-transclude></div>
</div>

0 comments on commit dfc3b0b

Please sign in to comment.