fix JavaScript error
This commit is contained in:
parent
a7daa7cda4
commit
559272ba6a
@ -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 () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user