From f9ea69f6567c22ff328fd1f7b07847883757bfa6 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 25 Jul 2013 13:24:58 -0700 Subject: [PATCH] fix($compile): don't check attr.specified on non-ie7 the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160 --- src/ng/compile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/compile.js b/src/ng/compile.js index 8297682234d0..1853690e53cd 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -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);