Fix Javascript
This commit is contained in:
@@ -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) {
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user