Skip to content

Commit

Permalink
Make sure to remove time tab in time disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqksoliman committed Nov 16, 2022
1 parent 30b52fe commit 6fd57ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/essence/Ancillary/Coordinates.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ const Coordinates = {
offset: [0, 20],
})

if (!(L_.configData.time && L_.configData.time.enabled === true)) {
$('#toggleTimeUI').css({ display: 'none' })
$('#CoordinatesDiv').css({ marginRight: '0px' })
}

if (L_.configData.coordinates) {
// ll
if (L_.configData.coordinates.coordll == false)
Expand Down

0 comments on commit 6fd57ec

Please sign in to comment.