mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-07 12:55:17 +08:00
Fix unit test in IE7
This commit is contained in:
@@ -215,7 +215,7 @@ function sortedHtml(element, showNgClass) {
|
||||
attr.name !='style' &&
|
||||
attr.name.substr(0, 6) != 'jQuery') {
|
||||
// in IE we need to check for all of these.
|
||||
if (!/ng-\d+/.exec(attr.name))
|
||||
if (!/ng-\d+/.exec(attr.name) && attr.name != 'getElementById')
|
||||
attrs.push(' ' + attr.name + '="' + attr.value + '"');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user