diff options
author | John McLear <john@mclear.co.uk> | 2011-03-26 19:57:17 +0000 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2011-03-26 19:57:17 +0000 |
commit | 750c75e1dc83285e0aacc22c7a99a218e5e17469 (patch) | |
tree | 2c78e734edd07eae40bb437b3b1022e70bd5cbfc /static/js/pad_editbar.js | |
parent | b26b1ebf154e5ca37723dabc0f2be3f1756a9213 (diff) | |
download | etherpad-lite-750c75e1dc83285e0aacc22c7a99a218e5e17469.zip |
Fix bug where it displayed users when showing embed div
Diffstat (limited to 'static/js/pad_editbar.js')
-rw-r--r-- | static/js/pad_editbar.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 07ff2a19..28e15808 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('<div id="embedcode">Embed code:<input id="embedinput" type="text" value="<iframe src='+padurl+'></iframe>"></div>'); + $('#embed').html('<div id="embedcode">Embed code:<input id="embedinput" type="text" value="<iframe src="'+padurl+'" width=500 height=400>"</iframe>></div>'); $('#embed').show(); } else |