whitespace
This commit is contained in:
parent
c521a28486
commit
b638c6e007
@ -626,7 +626,7 @@ function collapseHeight() {
|
|||||||
beforeToggle: function(trigger, element, expanded) {
|
beforeToggle: function(trigger, element, expanded) {
|
||||||
if(expanded) {
|
if(expanded) {
|
||||||
if((($(element).offset().top + divmore_height) - $(window).scrollTop()) < 65 ) {
|
if((($(element).offset().top + divmore_height) - $(window).scrollTop()) < 65 ) {
|
||||||
$('html, body').animate( { scrollTop: $(window).scrollTop() - (orgHeight - divmore_height) }, {duration: 100 } );
|
$('html, body').animate( { scrollTop: $(window).scrollTop() - (orgHeight - divmore_height) }, {duration: 100 } );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user