1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Removed autoscrol

This commit is contained in:
sam
2012-04-28 17:51:30 +07:00
parent 5b4ee443e9
commit 9f4fd6b711
2 changed files with 11 additions and 7 deletions

View File

@ -60,13 +60,11 @@ $('.paste-option select').change(function(){
$('#content').elastic();
/* Display bottom paste option buttons when needed */
$('.paste-option-down').hide();
$('#content').live('keyup', function(){
$('#content').live('keyup change', function(){
if($('#content').height() < 600 ){
$('.paste-option-down').hide();
}
else {
$(window).scrollTop($(this).height());
$('.paste-option-down').show();
};
});