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

Commit dfc3b0b

Browse files
fix(alert): update template to Bootstrap 3
1 parent 76b485c commit dfc3b0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/alert/docs/demo.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function AlertDemoCtrl($scope) {
22
$scope.alerts = [
3-
{ type: 'error', msg: 'Oh snap! Change a few things up and try submitting again.' },
3+
{ type: 'danger', msg: 'Oh snap! Change a few things up and try submitting again.' },
44
{ type: 'success', msg: 'Well done! You successfully read this important alert message.' }
55
];
66

template/alert/alert.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class='alert' ng-class='type && "alert-" + type'>
1+
<div class='alert' ng-class='"alert-" + (type || "warning")'>
22
<button ng-show='closeable' type='button' class='close' ng-click='close()'>&times;</button>
33
<div ng-transclude></div>
44
</div>

0 commit comments

Comments
 (0)