aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-11-14 11:35:33 -0500
committerbob <bcz@cs.brown.edu>2019-11-14 11:35:33 -0500
commitc6b602e2ab00d3a38e56164ecc928d5db8c12c72 (patch)
tree8561803bf8d294dd054b9a572a51bc984dfb2eaa /src/client/views/search
parente87b4b99323875afce2d9847f3bddd4196b85b81 (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.tsx4
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 = "";
}
}
});