mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Removed autoscrol
This commit is contained in:
@ -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();
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user