Skip to content

Commit

Permalink
Fix html reporter visibility toggle in IE11
Browse files Browse the repository at this point in the history
resolves #930, #927
  • Loading branch information
gitgrimbo authored and jason0x43 committed Jul 3, 2018
1 parent ee5d096 commit 029a68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/reporters/Html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default class Html extends Reporter implements HtmlProperties {
// Only show children one level under the suite being updated when
// expanding
(<HTMLElement>node).style.display =
!shouldCollapse && indentDelta === 1 ? null : 'none';
!shouldCollapse && indentDelta === 1 ? '' : 'none';
}
}

Expand Down

0 comments on commit 029a68f

Please sign in to comment.