From 78efa0e36c1cb9fe293190381baa5a3fe5b3d1cb Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 25 Jul 2013 13:24:58 -0700 Subject: 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(-) (limited to 'src') diff --git a/src/ng/compile.js b/src/ng/compile.js index 7b0c84d6..dbecd3b1 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -517,7 +517,7 @@ function $CompileProvider($provide) { for (var attr, name, nName, value, nAttrs = node.attributes, j = 0, jj = nAttrs && nAttrs.length; j < jj; j++) { attr = nAttrs[j]; - if (attr.specified) { + if (!msie || msie >= 8 || attr.specified) { name = attr.name; nName = directiveNormalize(name.toLowerCase()); attrsMap[nName] = name; -- cgit v1.2.3