Fix bug where it displayed users when showing embed div
parent
b26b1ebf15
commit
750c75e1dc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue