Refactor code: remove unnecessary comments and clean up whitespace in various files

This commit is contained in:
vista-man
2025-04-10 22:53:25 +02:00
parent e46044682e
commit 4e0f6238b6
8 changed files with 62 additions and 98 deletions

View File

@@ -1,4 +1,3 @@
// Check if the ticket form exists before adding an event listener
const ticketForm = document.getElementById('ticketForm');
if (ticketForm) {
ticketForm.addEventListener('submit', function (e) {
@@ -25,7 +24,6 @@ if (ticketForm) {
});
}
// Function to toggle video playback
function toggleVideo() {
const video = document.getElementById('myVideo');
if (video) {