Skip to content

Commit f9ea69f

Browse files
committed
fix($compile): don't check attr.specified on non-ie7
the specified attribute is depricated and creates warnings in Firefox Closes angular#3231 Closes angular#2160
1 parent 09fa065 commit f9ea69f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ function $CompileProvider($provide) {
556556
var index;
557557

558558
attr = nAttrs[j];
559-
if (attr.specified) {
559+
if (!msie || msie >= 8 || attr.specified) {
560560
name = attr.name;
561561
// support ngAttr attribute binding
562562
ngAttrName = directiveNormalize(name);

0 commit comments

Comments
 (0)