Skip to content

Commit e3d22ce

Browse files
author
qt06
committed
fixed the copy to clipboard
1 parent c87cc1c commit e3d22ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

view/thread_index.htm

+2
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,13 @@ <h2 id="subject_$tid">
389389
});
390390

391391
//帖子正文回车复制到剪贴板
392+
/**
392393
$(document).on('keydown', ".message", function(e){
393394
if(e.which == 13) {
394395
var data = $(this).attr('innerText') + '\r\n' + '本文来自$conf[app_name],地址: ' + location.href; window.clipboardData.setData('text',data);
395396
}
396397
}).find('a').attr("target","_blank");
398+
*/
397399

398400
// 快捷键翻页
399401
</script>

0 commit comments

Comments
 (0)