尚未开发完成,暂时保存
This commit is contained in:
@@ -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", {
|
||||
|
Reference in New Issue
Block a user