Fix Javascript

This commit is contained in:
2025-04-27 21:42:14 +02:00
parent 3a68af1f68
commit 9fa02fe15b
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
// Navbar color change on scroll
// Navbar color change on scroll
window.addEventListener('scroll', function() {
const navbar = document.getElementById('navbar');
if (window.scrollY > 50) {

View File

@@ -46,6 +46,6 @@
<!-- Bootstrap 5.3 JS Bundle with Popper -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<!-- Custom JS -->
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
<script src="{{ url_for('static', filename='js/core.js') }}"></script>
</body>
</html>