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:
parent
4206630fb0
commit
3c4cb53f69
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user