将复制粘贴的图片 链接及class都去掉

This commit is contained in:
yuanke 2016-05-13 15:18:48 +08:00
parent fc0f92738d
commit a67ee38ac9
1 changed files with 2 additions and 5 deletions

View File

@ -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;