diff options
| author | Igor Minar | 2013-07-25 13:24:58 -0700 | 
|---|---|---|
| committer | Brian Ford | 2013-08-12 16:23:37 -0700 | 
| commit | 78efa0e36c1cb9fe293190381baa5a3fe5b3d1cb (patch) | |
| tree | 749a59aa353691d788d58ba6da970df99faa78cf /src | |
| parent | 3a8b3db174658a1f58fe1b6219356a90ffcf36e2 (diff) | |
| download | angular.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
Diffstat (limited to 'src')
| -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 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; | 
