fix error
This commit is contained in:
parent
f8e710150e
commit
f139a4cc68
|
@ -802,7 +802,7 @@ function transdate(){
|
||||||
$(".kenjohn").addClass('navFixed');
|
$(".kenjohn").addClass('navFixed');
|
||||||
window.setTimeout(function(){
|
window.setTimeout(function(){
|
||||||
var theTop;
|
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;
|
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top+10;
|
||||||
}else{
|
}else{
|
||||||
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
theTop = $('.layout-content-inner.container').offset().top-$(".kenjohn").position().top-$(".kenjohn").height()+10;
|
||||||
|
|
Loading…
Reference in New Issue