diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index 68f17d6..8fdd4d3 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -802,7 +802,7 @@ function transdate(){ $(".kenjohn").addClass('navFixed'); window.setTimeout(function(){ var theTop; - if (parseInt($('.layout-content').css('margin-top')==0){ + if (parseInt($('.layout-content').css('margin-top')==0)){ theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+10; }else{ theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;