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

Auto hide new paste / clone options

This commit is contained in:
max 2012-04-28 18:25:43 +07:00
parent 4206630fb0
commit 3c4cb53f69

View File

@ -77,7 +77,11 @@ $('.paste-option select').live('change', function(){
/* Resize Textarea content */
$('#content').elastic();
/* Display bottom paste option buttons when needed */
if($('#content').height() < 600 ){
$('.paste-option.bottom').remove();
};
$('#content').live('keyup change', function(){
if($('#content').height() < 600 ){
$('.paste-option.down').remove();