Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix($compile): don't check attr.specified on non-ie7
Browse files Browse the repository at this point in the history
the specified attribute is depricated and creates warnings in Firefox

Closes #3231
Closes #2160
  • Loading branch information
IgorMinar committed Jul 25, 2013
1 parent 09fa065 commit f9ea69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ function $CompileProvider($provide) {
var index;

attr = nAttrs[j];
if (attr.specified) {
if (!msie || msie >= 8 || attr.specified) {
name = attr.name;
// support ngAttr attribute binding
ngAttrName = directiveNormalize(name);
Expand Down

0 comments on commit f9ea69f

Please sign in to comment.