复制粘贴时将图片所带链接删掉
This commit is contained in:
parent
2c7a964470
commit
6056505f96
|
@ -419,7 +419,8 @@ function uploadpic(piclist,myself) {
|
||||||
//复制过来带的链接class等都要去掉 和视频图片有关系
|
//复制过来带的链接class等都要去掉 和视频图片有关系
|
||||||
that.removeAttr("class");
|
that.removeAttr("class");
|
||||||
that.parent().removeAttr("class");
|
that.parent().removeAttr("class");
|
||||||
that.parent().removeAttr("href");
|
that.parents().removeAttr("href"); //删除所有父节点的href
|
||||||
|
// that.parent().removeAttr("href");
|
||||||
that.parent().removeAttr("data-ke-src");
|
that.parent().removeAttr("data-ke-src");
|
||||||
tIndex = tIndex + 1;
|
tIndex = tIndex + 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue