hexo-mrzefr-filebed
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -220,2 +220,13 @@ let mr = {}; | ||
}; | ||
//自动输入评论 | ||
mr.comment = function() { | ||
var hasComment = document.getElementById('post-comment'); | ||
if (hasComment){ | ||
window.location.href = '#post-comment'; | ||
$("#twikoo>.tk-comments>.tk-submit textarea.el-textarea__inner").val("> "+document.getSelection().toString()+"\n\n").focus().change(); | ||
} | ||
else{ | ||
window.location = "/comments/#post-comment" | ||
} | ||
}; | ||
//关闭右键菜单 | ||
@@ -222,0 +233,0 @@ function mrmenuOff(){ |
{ | ||
"name": "hexo-mrzefr-filebed", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Hello World", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246107
736