Remove unused JavaScript files: alerts.js, django-htmx.js, park-map.js, search.js, main.js, and photo-gallery.js

This commit is contained in:
pacnpal
2025-02-23 12:06:48 -05:00
parent 401449201c
commit 45948bcc80
17 changed files with 0 additions and 1003 deletions

View File

@@ -1,18 +0,0 @@
document.addEventListener('DOMContentLoaded', function() {
// Get all alert elements
const alerts = document.querySelectorAll('.alert');
// For each alert
alerts.forEach(alert => {
// After 5 seconds
setTimeout(() => {
// Add slideOut animation
alert.style.animation = 'slideOut 0.5s ease-out forwards';
// Remove the alert after animation completes
setTimeout(() => {
alert.remove();
}, 500);
}, 5000);
});
});