diff options
| author | Misko Hevery | 2010-04-19 14:36:41 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-04-19 14:36:41 -0700 |
| commit | 618a2b423d826ab8366a6907e71a4af0e76d6211 (patch) | |
| tree | 5afbd982d7ae021031391f5c663d6a6c90424863 /test | |
| parent | 8e1b670d5b262f70fdbf4c4b01d3109d54a12ac5 (diff) | |
| download | angular.js-618a2b423d826ab8366a6907e71a4af0e76d6211.tar.bz2 | |
ie fixes
Diffstat (limited to 'test')
| -rw-r--r-- | test/testabilityPatch.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 89e7d9ea..055c2f77 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -77,8 +77,9 @@ function sortedHtml(element) { for(var css in node.style){ var value = node.style[css]; if (isString(value) && isString(css) && css != 'cssText' && value && (1*css != css)) { - var text = css + ': ' + node.style[css]; - if (indexOf(style, text) == -1) { + var value = node.style[css]; + var text = css + ': ' + value; + if (value != 'false' && indexOf(style, text) == -1) { style.push(text); } } |
