Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mollybsmith-noaa committed Aug 9, 2023
1 parent 057a95a commit a846955
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,11 @@ const checkHideOther = function (param, firstRender) {
`${controlledSelectors[i]}-item`
);
if (selectorControlElem && selectorControlElem.style) {
if (param.controlButtonVisibility !== "none" && !doNotShow && (elem.offsetParent !== null || param.name === "plot-type")) {
if (
param.controlButtonVisibility !== "none" &&
!doNotShow &&
(elem.offsetParent !== null || param.name === "plot-type")
) {
selectorControlElem.style.display = "block";
selectorControlElem.purposelyHidden = false;
}
Expand Down

0 comments on commit a846955

Please sign in to comment.