将复制粘贴的图片 链接及class都去掉
This commit is contained in:
parent
fc0f92738d
commit
a67ee38ac9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue