Skip to content

Commit

Permalink
chores
Browse files Browse the repository at this point in the history
  • Loading branch information
vcheckzen committed Oct 2, 2024
1 parent caf4ab3 commit 7e3aca6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions front-end/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,6 @@
}
renderTreeNode(files);
}
if (document.body.getAttribute('hidden')) {
document.body.removeAttribute('hidden');
}
document.querySelector('.loading-wrapper').style.display = 'none';
}

Expand Down Expand Up @@ -1326,7 +1323,6 @@
const pre = document.createElement('pre');
pre.style.background = 'rgb(245,245,245)';
pre.style.padding = '5px';
content.style.textAlign = 'initial';
content.innerHTML = '';
content.append(pre);
pre.textContent = data;
Expand Down Expand Up @@ -1427,6 +1423,7 @@
switchBackForwardStatus(window.api.root);
});
}

function addFileUploadListener() {
const fileInput = document.querySelector('.file-upload-input');
const fileNameDisplay = document.querySelector('.file-upload-name');
Expand All @@ -1442,6 +1439,7 @@
}
});
}

function switchRightDisplay(display) {
for (const c of document.querySelector('.right').children) {
c.dataset.hidden = '1';
Expand Down

0 comments on commit 7e3aca6

Please sign in to comment.