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

Commit 2c31c70

Browse files
fix(typeahead): update template to Bootstrap 3
1 parent fe8e9cc commit 2c31c70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/alert/docs/demo.js

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)