From fc0f92738dd15c1944e3228c99ba6c06f8ad464f Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Fri, 13 May 2016 14:58:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E5=88=B6=E7=B2=98=E8=B4=B4=E6=97=B6?= =?UTF-8?q?=E5=B0=86=E5=9B=BE=E7=89=87=E6=89=80=E5=B8=A6=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E5=8E=BB=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/kindeditor/pasteimg.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/assets/kindeditor/pasteimg.js b/public/assets/kindeditor/pasteimg.js index 385e02ac2..44aba63c9 100644 --- a/public/assets/kindeditor/pasteimg.js +++ b/public/assets/kindeditor/pasteimg.js @@ -417,10 +417,12 @@ function uploadpic(piclist,myself) { that.attr("data-ke-src", str[tIndex]); //非视频 - if(!(that.parent().attr("class") && that.parent().attr("class") == "mediaIcobox" )) { - that.parent().attr("href", str[tIndex]); - that.parent().attr("data-ke-src", str[tIndex]); - } +// if(!(that.parent().attr("class") && that.parent().attr("class") == "mediaIcobox" )) { +// that.parent().attr("href", str[tIndex]); +// that.parent().attr("data-ke-src", str[tIndex]); +// } + that.parent().removeAttr("href"); + that.parent().removeAttr("data-ke-src"); tIndex = tIndex + 1; } }