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

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 #3231 Closes #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

+1-1
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)