Skip to content

Commit

Permalink
🐛 Remove extra adj coord columns
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenank committed Sep 30, 2023
1 parent cef9d1d commit 0548ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/details/modal/main-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function createSpecialDetailsOptions(id = "#special-details-options") {
onChecked: () => {
d3.select("#heat-map-enable").property("checked", false);
d3.select("#heat-map-enable").property("disabled", true);
return !d3.select("#adj-coords-toggle").empty() &&
return !d3.select("#adj-coords").empty() &&
d3.select("#adj-coords").property("checked")
? [
{
Expand All @@ -475,7 +475,7 @@ function createSpecialDetailsOptions(id = "#special-details-options") {
},
onUnchecked: () => {
d3.select("#heat-map-enable").property("disabled", false);
return !d3.select("#adj-coords-toggle").empty() &&
return !d3.select("#adj-coords").empty() &&
d3.select("#adj-coords")?.property("checked")
? [
{
Expand Down

0 comments on commit 0548ff3

Please sign in to comment.