added the default embed parameters to the embed code
This commit is contained in:
parent
6efaf69157
commit
070b5f16f7
|
@ -100,8 +100,8 @@ var padeditbar = (function()
|
|||
}
|
||||
else if (cmd == 'embed')
|
||||
{
|
||||
var padurl = document.location;
|
||||
$('#embedinput').val("<iframe src='" + padurl + "' width=600 height=400>");
|
||||
var padurl = window.location.href.split("?")[0];
|
||||
$('#embedinput').val("<iframe src='" + padurl + "?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false' width=600 height=400>");
|
||||
self.toogleDropDown("embed");
|
||||
$('#embedinput').focus().select();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue