Remove DEBUG code

This commit is contained in:
2025-06-30 03:03:59 +05:30
parent 374903d87e
commit 0a6d8aefbc

View File

@@ -100,7 +100,7 @@
var hydra = new Hydra({ detectAudio: false }); var hydra = new Hydra({ detectAudio: false });
modalEl.classList.remove("open"); modalEl.classList.remove("open");
getMusic().then(() => { getMusic().then(() => {
playMusic(); playMusic();
}); });
initHydra(); initHydra();
initControls(); initControls();
@@ -189,11 +189,11 @@
cursor = currentCursor; cursor = currentCursor;
currentTracks = tracks; currentTracks = tracks;
} catch (error) { } catch (error) {
console.error("Error fetching music:", error); console.error("Error fetching music:", error);
showErrors( showErrors(
"Failed to fetch music. Please check your internet connection or try again later." "Failed to fetch music. Please check your internet connection or try again later."
); );
throw error; // rethrow the error to be caught in the catch block below throw error; // rethrow the error to be caught in the catch block below
} }
} }
@@ -327,8 +327,7 @@ https://retrowave.ru/${musicData.streamUrl}
} catch (error) { } catch (error) {
console.error("Error attempting to enable full-screen mode:", error); console.error("Error attempting to enable full-screen mode:", error);
showErrors( showErrors(
"Failed to enter full-screen mode. Please check your browser settings." + "Failed to enter full-screen mode. Please check your browser settings."
error
); );
} }
} else { } else {