diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index a6105e1ba..8f410a531 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -86,15 +86,15 @@ var padeditbar = (function(){ // increase the size of the editbar //$('#editbar').animate({height:'72px'}); //$('#editorcontainerbox').animate({top:'72px'}); - $('#embed').hide(); - $('#users').show(); + $('#embed').slideUp("fast"); + $('#users').slideDown("fast"); } else { // increase the size of the editbar //$('#editbar').animate({height:'36px'}); //$('#editorcontainerbox').animate({top:'36px'}); - $('#users').hide(); + $('#users').slideUp("fast"); } } if (cmd == 'embed') { @@ -105,14 +105,12 @@ var padeditbar = (function(){ // increase the size of the editbar //$('#editbar').animate({height:'72px'}); $('#editorcontainerbox').animate({top:'72px'}); - // hide the users - $('#users').hide(); // get the pad url padurl = document.location; // change the div contents to include the pad url in an input box $('#embed').html('