Skip to content

Commit

Permalink
remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shuesken committed Aug 11, 2024
1 parent 6b06c30 commit 8c8890e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,9 @@ function createPopupHtml(createNoteCallback) {
submitButton.onclick = () => {
const content = contentTextArea.value;
const expirationTime = parseInt(expirationSelect.value) || null;
console.log("time", expirationTime);
const expirationDate = expirationTime
? Math.floor(Date.now() / 1000 + expirationTime)
: null;
console.log("expiration date", expirationDate), expirationTime;
createNoteCallback(content, expirationDate);
map.closePopup();
};
Expand Down

0 comments on commit 8c8890e

Please sign in to comment.