mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-10 07:44:43 +00:00
fix($compile): don't check attr.specified on non-ie7
the specified attribute is depricated and creates warnings in Firefox Closes #3231 Closes #2160
This commit is contained in:
parent
09fa0656b4
commit
f9ea69f656
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ function $CompileProvider($provide) {
|
||||||
var index;
|
var index;
|
||||||
|
|
||||||
attr = nAttrs[j];
|
attr = nAttrs[j];
|
||||||
if (attr.specified) {
|
if (!msie || msie >= 8 || attr.specified) {
|
||||||
name = attr.name;
|
name = attr.name;
|
||||||
// support ngAttr attribute binding
|
// support ngAttr attribute binding
|
||||||
ngAttrName = directiveNormalize(name);
|
ngAttrName = directiveNormalize(name);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue