mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +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;
|
||||
|
||||
attr = nAttrs[j];
|
||||
if (attr.specified) {
|
||||
if (!msie || msie >= 8 || attr.specified) {
|
||||
name = attr.name;
|
||||
// support ngAttr attribute binding
|
||||
ngAttrName = directiveNormalize(name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue