From 750c75e1dc83285e0aacc22c7a99a218e5e17469 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 19:57:17 +0000 Subject: [PATCH] Fix bug where it displayed users when showing embed div --- static/js/pad_editbar.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 07ff2a197..28e15808b 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -105,10 +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('
Embed code:
'); + $('#embed').html('
Embed code:>
'); $('#embed').show(); } else