diff --git a/public/assets/kindeditor/kindeditor.js b/public/assets/kindeditor/kindeditor.js
index 6302f01a7..8b1c68c70 100644
--- a/public/assets/kindeditor/kindeditor.js
+++ b/public/assets/kindeditor/kindeditor.js
@@ -931,19 +931,22 @@ function _mediaAttrs(srcTag) {
}
function _mediaEmbed(attrs,target) {
if(target && target === "media"){
- var html = [[],"");
+ html[0].push("");
+ html[0] = html[0].join("");
html.push("/>");
return html.join("");
}else{
@@ -2783,7 +2786,7 @@ _extend(KCmd, {
sel.addRange(rng);
if (doc !== document) {
var pos = K(rng.endContainer).pos();
- //win.scrollTo(pos.x, pos.y);
+ //win.scrollTo(pos.x, pos.y);
}
}
win.focus();