fixed auto scrolling bug when a new panel is opened

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12578 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2013-01-23 02:56:34 +00:00
parent f6a00de24c
commit ea06e64eb4
2 changed files with 23 additions and 3 deletions

View file

@ -1386,7 +1386,7 @@ jQuery(function($){
});
function scrollToRight(){
$('#site').scrollTo($('#site').width(), 0, {duration: 0 } );
$('#site').scrollTo($('#site')[0].scrollWidth, 0, {duration: 0 } );
}
function scrollToTop($Area){
@ -3246,7 +3246,6 @@ jQuery(function($){
}
);
})
scrollToRight();
});
});