diff --git a/static/js/behavior.js b/static/js/behavior.js index ffc4d3f..d622b11 100644 --- a/static/js/behavior.js +++ b/static/js/behavior.js @@ -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();