fix JavaScript error

This commit is contained in:
vincentinttsh 2021-01-23 23:15:08 +08:00
parent a7daa7cda4
commit 559272ba6a

View File

@ -49,7 +49,6 @@ var mainWindow = {
main.departments.sort()
main.selectDepartment = main.departments[15]
})
.then(function () {
// Collapse Navbar
var navbarCollapse = function () {
if ($("#mainNav").offset().top > 100) {
@ -62,7 +61,6 @@ var mainWindow = {
navbarCollapse();
// Collapse the navbar when page is scrolled
$(window).scroll(navbarCollapse);
})
},
methods: {
'login': function () {