文件链接却弹出图片框 bug
This commit is contained in:
parent
0a3c5f6acc
commit
8d58b045f1
|
@ -969,6 +969,7 @@ function showNormalImage(id) {
|
||||||
var element=$("<a></a>").attr("href",image.attr('src'));
|
var element=$("<a></a>").attr("href",image.attr('src'));
|
||||||
image.wrap(element);
|
image.wrap(element);
|
||||||
}
|
}
|
||||||
|
$('#'+id+' a').colorbox({rel:'nofollow', close: "关闭", returnFocus: false}); //有图片才将链接变为弹出框
|
||||||
}
|
}
|
||||||
$('#'+id+' a').colorbox({rel:'nofollow', close: "关闭", returnFocus: false});
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue