Remove jquery animate, juste modify div height.
This commit is contained in:
parent
c6c1346518
commit
e724d05165
|
@ -134,18 +134,11 @@
|
|||
}
|
||||
$('div#controlbar').empty();
|
||||
$('div#controlbar').append(content);
|
||||
$('div#content-1').animate({
|
||||
height: "88%",
|
||||
}, 300, "linear", function() {
|
||||
$('div#content-1').height('88%');
|
||||
$('div#controlbar').fadeIn();
|
||||
}
|
||||
);
|
||||
} else {
|
||||
$('div#controlbar').fadeOut(500, function(){
|
||||
$('div#content-1').animate({
|
||||
height: "100%",
|
||||
}, 300, "linear");
|
||||
});
|
||||
$('div#controlbar').fadeOut(500);
|
||||
$('div#content-1').height('100%');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Reference in New Issue