Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sirmmo committed Dec 4, 2024
1 parent f3d913d commit 7da22eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/Map/TWLSample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export const TWLSample = (props: any) => {
//@ts-ignore
for (const t of layers) {
if (t.style['z-index'] === '500') {
if (t.outerHTML.indexOf((dt - 1).toString())) {
if (t.innerHTML.indexOf('time=' + (dt - 1).toString())) {
t.style.display = 'block';
} else {
t.style.displey = 'none';
t.style.display = 'none';
}
}
}
Expand Down

0 comments on commit 7da22eb

Please sign in to comment.