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

Commit eb2366f

Browse files
wesleychoicfantv
authored andcommitted
fix(alert): properly pass $event as local
- Change to pass object due to how `&` binding works Fixes #4386 Closes #4387
1 parent d6cda93 commit eb2366f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/alert/alert.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="alert" ng-class="['alert-' + (type || 'warning'), closeable ? 'alert-dismissible' : null]" role="alert">
2-
<button ng-show="closeable" type="button" class="close" ng-click="close($event)">
2+
<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">
33
<span aria-hidden="true">&times;</span>
44
<span class="sr-only">Close</span>
55
</button>

0 commit comments

Comments
 (0)