From a67ee38ac9ff1be30ea92643849c4aa19b147c77 Mon Sep 17 00:00:00 2001 From: yuanke <249218296@qq.com> Date: Fri, 13 May 2016 15:18:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=A4=8D=E5=88=B6=E7=B2=98=E8=B4=B4?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E7=89=87=20=E9=93=BE=E6=8E=A5=E5=8F=8Aclass?= =?UTF-8?q?=E9=83=BD=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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/assets/kindeditor/pasteimg.js b/public/assets/kindeditor/pasteimg.js index 44aba63c9..8831ba300 100644 --- a/public/assets/kindeditor/pasteimg.js +++ b/public/assets/kindeditor/pasteimg.js @@ -416,11 +416,8 @@ function uploadpic(piclist,myself) { that.attr("src", str[tIndex]); 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]); -// } + that.removeAttr("class"); + that.parent().removeAttr("class"); that.parent().removeAttr("href"); that.parent().removeAttr("data-ke-src"); tIndex = tIndex + 1;