diff options
| author | bob <bcz@cs.brown.edu> | 2019-11-14 11:35:33 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-11-14 11:35:33 -0500 |
| commit | c6b602e2ab00d3a38e56164ecc928d5db8c12c72 (patch) | |
| tree | 8561803bf8d294dd054b9a572a51bc984dfb2eaa /src/client/views/search | |
| parent | e87b4b99323875afce2d9847f3bddd4196b85b81 (diff) | |
fixed warning/errors. cleaned up link following box a bit.
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/FilterBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx index 6e7e4ee1b..62f3aba4c 100644 --- a/src/client/views/search/FilterBox.tsx +++ b/src/client/views/search/FilterBox.tsx @@ -82,7 +82,7 @@ export class FilterBox extends React.Component { var panel = this.nextElementSibling as HTMLElement; if (panel.style.maxHeight) { panel.style.overflow = "hidden"; - panel.style.maxHeight = null; + panel.style.maxHeight = ""; panel.style.opacity = "0"; } else { setTimeout(() => { @@ -114,7 +114,7 @@ export class FilterBox extends React.Component { acc[i].classList.toggle("active"); var panel = acc[i].nextElementSibling as HTMLElement; panel.style.overflow = "hidden"; - panel.style.maxHeight = null; + panel.style.maxHeight = ""; } } }); |
