1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

尚未开发完成,暂时保存

This commit is contained in:
2022-01-26 02:24:31 +08:00
parent 86848dbde0
commit d1256be86a
7 changed files with 113 additions and 3 deletions

View File

@@ -68,8 +68,8 @@ $(function() {
})
});
$("pre[id^='pre_']").each(function() {
$(this).html($(this).html()/*' + <span style="position:absolute;left:-9999px;">\r\n\r\n代码来自' + bloghost +
"</span>"*/)
$(this).html($(this).html() + '<span style="position:absolute;left:-9999px;">\r\n\r\n代码来自' + bloghost +
"</span>")
});
$(".z_codeplus").click(function() {
if ($(this).parent().parent().next().next("textarea").is(":visible")) {
@@ -78,7 +78,8 @@ $(function() {
cdMode = 0
}
if (cdMode == 1) {
$(this).parent().parent().next().next("textarea").val($(this).parent().parent().next().next("textarea").val() /* + "\r\n\r代码来自" + bloghost */ )
$(this).parent().parent().next().next("textarea").val($(this).parent().parent().next().next("textarea").val() +
"\r\n\r代码来自" + bloghost)
}
});
var a = new ClipboardJS(".z_codeplus", {