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

Commit

Permalink
fix(alert): properly pass $event as local
Browse files Browse the repository at this point in the history
- Change to pass object due to how `&` binding works

Fixes #4386
Closes #4387
  • Loading branch information
wesleycho authored and icfantv committed Sep 10, 2015
1 parent d6cda93 commit eb2366f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/alert/alert.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="alert" ng-class="['alert-' + (type || 'warning'), closeable ? 'alert-dismissible' : null]" role="alert">
<button ng-show="closeable" type="button" class="close" ng-click="close($event)">
<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
</button>
Expand Down

0 comments on commit eb2366f

Please sign in to comment.