fix error
This commit is contained in:
1 parent
f8e710150e
commit
f139a4cc68
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user