mirror of
https://github.com/chatopera/cosin.git
synced 2025-06-16 18:30:03 +08:00
commit
d80b63a7c6
@ -53,6 +53,11 @@ block content
|
||||
sendMessage();
|
||||
return false;
|
||||
})
|
||||
// 增加点击图片新标签打开放大
|
||||
$("#chat_msg_list").on("click", ".chat-content img", function () {
|
||||
let originalUrl = $(this).attr("src") + '&original=true';
|
||||
window.open(originalUrl, '_blank');
|
||||
})
|
||||
});
|
||||
function otherTopicSearch() {
|
||||
console.log("otherTopicSearch")
|
||||
|
@ -704,4 +704,11 @@ html
|
||||
window.onresize = function () {
|
||||
R3Helper.resize();
|
||||
};
|
||||
// 增加点击图片新窗口打开
|
||||
$(function(){
|
||||
$("#above").on("click", ".chat-content img", function () {
|
||||
let originalUrl = $(this).attr("src") + '&original=true';
|
||||
window.open(originalUrl, '_blank');
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user