diff options
| author | Igor Minar | 2013-07-25 13:24:58 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-07-25 15:49:57 -0700 | 
| commit | f9ea69f6567c22ff328fd1f7b07847883757bfa6 (patch) | |
| tree | f15ea89bf34bf46bd86debaca51cf453cf1f0428 | |
| parent | 09fa0656b49321681f28453abef566d0cbe0eb22 (diff) | |
| download | angular.js-f9ea69f6567c22ff328fd1f7b07847883757bfa6.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.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/ng/compile.js b/src/ng/compile.js index 82976822..1853690e 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); | 
