复制粘贴时将图片所带链接去掉
This commit is contained in:
parent
80c6edd2d3
commit
fc0f92738d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue