newtodo 图标

This commit is contained in:
lmm214
2022-11-13 21:13:47 +08:00
parent e605768577
commit af5eb41b64
4 changed files with 52 additions and 10 deletions
+6 -1
View File
@@ -225,6 +225,11 @@ $(document).on("click",".item-container",function () {
add(tagHtml);
})
$('#newtodo').click(function () {
var tagHtml = "\n- [ ] "
add(tagHtml);
})
$('#getlink').click(function () {
chrome.tabs.query({ active: true, currentWindow: true }, ([tab]) => {
var linkHtml = " ["+tab.title+"]("+tab.url+") "
@@ -330,7 +335,7 @@ function sendText() {
{ open_action: '', open_content: '',resourceIdList:'' },
function () {
$.message({
message: '网络问题,发送失败!😭'
message: '网络问题,发送失败!😭(记得点下小锁图标,设置一下状态哦)'
})
}
)},