Skip to content

Commit

Permalink
Update main2.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronge-2020 committed Apr 11, 2024
1 parent 7d72861 commit c6dbf03
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions javascript/main2.js
Original file line number Diff line number Diff line change
Expand Up @@ -884,11 +884,11 @@ function bindEventListeners() {
downloadAllCores(window.sortedCoresData);
});

document.querySelectorAll("input[type='number']").forEach((e) => {
e.onwheel = (e) => {
e.preventDefault();
};
});
// document.querySelectorAll("input[type='number']").forEach((e) => {
// e.onwheel = (e) => {
// e.preventDefault();
// };
// });

// Event listener for the Apply Hyperparameters button
document
Expand Down Expand Up @@ -1204,6 +1204,7 @@ const initSegmentation = async () => {
autoAssignRowColCheckbox.type = "checkbox";
autoAssignRowColCheckbox.id = "editAutoUpdateRowsCheckbox";
autoAssignRowColCheckbox.className = "osdViewerCheckbox";
autoAssignRowColCheckbox.checked = true;

const autoAssignRowColLabel = document.createElement("label");
autoAssignRowColLabel.htmlFor = "editAutoUpdateRowsCheckbox";
Expand Down

0 comments on commit c6dbf03

Please sign in to comment.