Skip to content

Commit

Permalink
Remove console logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alvi-khan committed Jan 27, 2024
1 parent dca5013 commit 25e96de
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,12 @@ export default {
this.currentPage = page;
},
onDragEnter() {
console.log("Here");
this.overlayActive = true;
},
onDragLeave() {
this.overlayActive = false;
},
onDrop(event) {
console.log(event);
this.overlayActive = false;
this.pendingFileDrop = event.dataTransfer.files[0]
if (this.currentPage == "start") this.processFileDrop();
Expand Down
1 change: 0 additions & 1 deletion src/components/AnnotationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export default {
end = offsetEnd + rangeEnd.endOffset;
}
} catch {
console.log("selected text were not tokens");
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/menubar/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ export const exportFile = async (content, filename) => {
.then((msg) => alert(msg))
.catch((e) => alert(e));
})
.catch((e) => console.log("Save cancelled.", e));
.catch(() => {});
}
};

0 comments on commit 25e96de

Please sign in to comment.