Fixing JS error

This commit is contained in:
John Mulhausen 2017-02-16 15:46:12 -08:00
parent f478f1bf0a
commit aa7614f695
No known key found for this signature in database
GPG Key ID: 0FC599ECCDBFDE02
1 changed files with 1 additions and 2 deletions

View File

@ -9,10 +9,9 @@ $("#menu-toggle").click(function(e) {
$("#wrapper").toggleClass("toggled");
});
var $body = $(document.body);
var navHeight = $('.navbar').outerHeight(true) + 10;
$body.scrollspy({
$(document.body).scrollspy({
target: '#leftCol',
offset: navHeight
});