Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
FergusFettes committed Mar 4, 2024
1 parent b38ef07 commit a5624dd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,9 @@ <h3>Stats</h3>
if (
document.getElementById("settingsModal").style.display === "block" ||
document.getElementById("model-config-modal").style.display === "block"
) { return; }
) {
return;
}

if (!hasNonDataNodes()) {
document.getElementById("background-text").style.display = "none";
Expand All @@ -1585,7 +1587,9 @@ <h3>Stats</h3>
if (
document.getElementById("settingsModal").style.display === "block" ||
document.getElementById("model-config-modal").style.display === "block"
) { return; }
) {
return;
}

// Check if the text editor is open
if (textEditor.style.display === "block") {
Expand Down
8 changes: 6 additions & 2 deletions src/eventListeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ document
if (
document.getElementById("settingsModal").style.display === "block" ||
document.getElementById("model-config-modal").style.display === "block"
) { return; }
) {
return;
}

if (!hasNonDataNodes()) {
document.getElementById("background-text").style.display = "none";
Expand All @@ -25,7 +27,9 @@ network.on("click", function (params) {
if (
document.getElementById("settingsModal").style.display === "block" ||
document.getElementById("model-config-modal").style.display === "block"
) { return; }
) {
return;
}

// Check if the text editor is open
if (textEditor.style.display === "block") {
Expand Down

0 comments on commit a5624dd

Please sign in to comment.