aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2013-07-25 13:24:58 -0700
committerBrian Ford2013-08-12 16:23:37 -0700
commit78efa0e36c1cb9fe293190381baa5a3fe5b3d1cb (patch)
tree749a59aa353691d788d58ba6da970df99faa78cf
parent3a8b3db174658a1f58fe1b6219356a90ffcf36e2 (diff)
downloadangular.js-78efa0e36c1cb9fe293190381baa5a3fe5b3d1cb.tar.bz2
fix($compile): don't check attr.specified on non-ie7
the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160
-rw-r--r--src/ng/compile.js2
1 files changed, 1 insertions, 1 deletions
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;