Skip to content

Commit

Permalink
chore: transition away from console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmeese7 committed Sep 16, 2024
1 parent 05535d6 commit f827fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", () => {
const response = await fetch("./audio/tick.mp3");
const arrayBuffer = await response.arrayBuffer();
this.tickSound = await this.audioContext.decodeAudioData(arrayBuffer);
console.log("Tick sound loaded successfully");
console.debug("Tick sound loaded successfully");
} catch (error) {
console.error("Error loading tick sound:", error);
}
Expand Down Expand Up @@ -149,7 +149,7 @@ document.addEventListener("DOMContentLoaded", () => {
this.audioContext = new (window.AudioContext || window.webkitAudioContext)();
}
this.audioContext.resume().then(() => {
console.log("AudioContext resumed successfully");
console.debug("AudioContext resumed successfully");
if (!this.tickSound) {
this.loadTickSound();
}
Expand All @@ -173,7 +173,7 @@ document.addEventListener("DOMContentLoaded", () => {
const newInterval = parseInt(this.updateIntervalInput.value);
if (newInterval >= 1 && newInterval <= 60) {
this.updateInterval = newInterval;
console.log(`Update interval set to ${this.updateInterval} minutes`);
console.debug(`Update interval set to ${this.updateInterval} minutes`);
this.closeSettingsModal();
} else {
console.error("Invalid interval. Please enter a number between 1 and 60.");
Expand Down

0 comments on commit f827fe7

Please sign in to comment.