diff --git a/links/templates/links/collection_detail.html b/links/templates/links/collection_detail.html
index 8dacef7..37cd523 100644
--- a/links/templates/links/collection_detail.html
+++ b/links/templates/links/collection_detail.html
@@ -375,12 +375,10 @@ const dropzone = new Dropzone("#uploadForm", {
this.on("addedfile", function(file) {
totalFiles++;
- console.log(`Added file: ${file.name}. Total files: ${totalFiles}`);
});
this.on("success", function(file, response) {
completedFiles++;
- console.log(`Upload successful: ${file.name}. Completed: ${completedFiles}/${totalFiles}`);
file.previewElement.classList.add('dz-success');
});
@@ -392,9 +390,7 @@ const dropzone = new Dropzone("#uploadForm", {
});
this.on("queuecomplete", function() {
- console.log("Queue complete. All files processed.");
if (completedFiles === totalFiles) {
- console.log("All files uploaded successfully. Reloading page...");
setTimeout(() => {
location.reload();
}, 1000);
diff --git a/links/templates/links/collection_slideshow.html b/links/templates/links/collection_slideshow.html
index 8aa74da..72423dd 100644
--- a/links/templates/links/collection_slideshow.html
+++ b/links/templates/links/collection_slideshow.html
@@ -555,7 +555,6 @@ async function fetchPlaylist() {
loadSong(0);
isMusicPlaying = true;
} else {
- console.log('No music files available');
isMusicPlaying = false;
updateMusicDisplay();
}
@@ -571,7 +570,6 @@ async function fetchPlaylist() {
function loadSong(index) {
if (!activePlaylist || activePlaylist.length === 0) {
- console.log('No songs in active playlist');
isMusicPlaying = false;
updateMusicDisplay();
return;
@@ -653,7 +651,6 @@ backgroundMusic.addEventListener('ended', () => {
if (activePlaylist && activePlaylist.length > 0) {
// Move to next song in playlist
currentSongIndex = (currentSongIndex + 1) % activePlaylist.length;
- console.log('play Next song:', activePlaylist[currentSongIndex]);
loadSong(currentSongIndex);
if (isMusicPlaying && isPlaying) {
backgroundMusic.play().catch(error => {
diff --git a/links/templates/links/custom_link.html b/links/templates/links/custom_link.html
index e4ea4f8..e04fc25 100644
--- a/links/templates/links/custom_link.html
+++ b/links/templates/links/custom_link.html
@@ -42,8 +42,6 @@
const taskHash = this.getAttribute('data-hash');
const linkId = {{ link.id }};
- console.log('Toggling task:', taskHash, 'for link:', linkId);
-
try {
const response = await fetch(`/link/${linkId}/toggle_task/`, {
method: 'POST',
@@ -54,13 +52,10 @@
});
const data = await response.json();
- console.log('Response:', response.status, data);
if (!response.ok) {
this.checked = !this.checked;
console.error('Failed to update task state:', data);
- } else {
- console.log('Task updated successfully:', data);
}
} catch (error) {
this.checked = !this.checked;
diff --git a/links/templates/links/mini_apps/fire_planning.html b/links/templates/links/mini_apps/fire_planning.html
index 7bbe006..f956d09 100644
--- a/links/templates/links/mini_apps/fire_planning.html
+++ b/links/templates/links/mini_apps/fire_planning.html
@@ -729,9 +729,6 @@