mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Removed autoscrol
This commit is contained in:
parent
5b4ee443e9
commit
9f4fd6b711
@ -76,6 +76,10 @@ list-style-type: none;
|
||||
|
||||
}
|
||||
|
||||
form textarea {
|
||||
overflow-y:auto;
|
||||
}
|
||||
|
||||
button.btn, input[type="submit"].btn {
|
||||
margin-left: 5px;
|
||||
}
|
||||
@ -107,7 +111,9 @@ position:relative;
|
||||
top:-4px;
|
||||
}
|
||||
|
||||
|
||||
.paste-option-down {
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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();
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user