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

Commit 78efa0e

Browse files
IgorMinarbtford
authored andcommitted
fix($compile): don't check attr.specified on non-ie7
the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160
1 parent 3a8b3db commit 78efa0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/compile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ function $CompileProvider($provide) {
517517
for (var attr, name, nName, value, nAttrs = node.attributes,
518518
j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) {
519519
attr = nAttrs[j];
520-
if (attr.specified) {
520+
if (!msie || msie >= 8 || attr.specified) {
521521
name = attr.name;
522522
nName = directiveNormalize(name.toLowerCase());
523523
attrsMap[nName] = name;

0 commit comments

Comments
 (0)