Skip to content

Commit dea74f4

Browse files
committed
Removed spurious console logs
1 parent cc9c66b commit dea74f4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

frontend/main.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ listen('tauri://drag-leave', event => {
5959

6060
document.addEventListener("dragend", () => document.querySelector("html").classList.remove("file-drop-hover"));
6161

62-
// function abort() {
63-
// console.log(controller);
64-
// controller.abort("User manual abort");
65-
// }
66-
6762
/**
6863
* @param e: Element
6964
*/
@@ -849,7 +844,6 @@ function loadCustomModelEdit(model) {
849844
true,
850845
)
851846
for (let rule of model["glycan"]["specific_glycan_peptide_fragment"]) {
852-
console.log(rule);
853847
addValueListInputGlycanPeptideFragment(
854848
document.getElementById("model-glycan-fragments").parentElement,
855849
rule[0],
@@ -883,7 +877,6 @@ async function annotate_spectrum() {
883877
document.querySelector("#peptide").innerText = document.querySelector("#peptide").innerText.trim();
884878
var charge = number_or_null("spectrum-charge");
885879
var noise_threshold = Number(document.querySelector("#noise-filter").value);
886-
console.log(Theme);
887880
invoke("annotate_spectrum", {
888881
tolerance: [Number(document.querySelector("#spectrum-tolerance").value), document.querySelector("#spectrum-tolerance-unit").value],
889882
charge: charge,
@@ -1313,7 +1306,6 @@ function editListInput(e, listInput) {
13131306
populateSeparatedInput("custom-mod-linker-stubs", data.stubs);
13141307
populateSeparatedInput("custom-mod-linker-diagnostic-ions", data.diagnostic_ions);
13151308
} else if (listInput.classList.contains("glycan-fragments")) {
1316-
console.log(data);
13171309
if (data[3]) {
13181310
document.getElementById("model-glycan-fragments-other").hidden = false;
13191311
document.getElementById("model-glycan-fragments-selection-aa").parentElement.hidden = true;
@@ -1350,7 +1342,6 @@ function updateCustomModifications() {
13501342
edit_button.addEventListener("click", () =>
13511343
invoke("get_custom_modification", { id: modification[0] })
13521344
.then(result => {
1353-
console.log(current_custom_modal_is_duplicate);
13541345
loadCustomModification(result);
13551346
document.getElementById("custom-mod-dialog").showModal();
13561347
document.getElementById("custom-mod-dialog").dataset.duplicate = "false";
@@ -1363,7 +1354,6 @@ function updateCustomModifications() {
13631354
duplicate_button.addEventListener("click", () =>
13641355
invoke("duplicate_custom_modification", { id: modification[0], newId: Number(document.getElementById("custom-mod-create").dataset.newId) })
13651356
.then(result => {
1366-
console.log(current_custom_modal_is_duplicate);
13671357
loadCustomModification(result);
13681358
document.getElementById("custom-mod-dialog").showModal();
13691359
document.getElementById("custom-mod-dialog").dataset.duplicate = "true";

0 commit comments

Comments
 (0)