Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
fix(alert): remove tabindex to prevent focus steal (fixes #809, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Sep 11, 2014
1 parent cd6a925 commit ad9d085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alert/alert.tpl.html
@@ -1,4 +1,4 @@
<div class="alert" tabindex="-1" ng-class="[type ? 'alert-' + type : null]">
<div class="alert" ng-class="[type ? 'alert-' + type : null]">
<button type="button" class="close" ng-if="dismissable" ng-click="$hide()">&times;</button>
<strong ng-bind="title"></strong>&nbsp;<span ng-bind-html="content"></span>
</div>

1 comment on commit ad9d085

@JoshSchreuder
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a similar fix help with #893 where the datepicker popup is closed due to it stealing focus from the datepicker field in IE8?

Please sign in to comment.