mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
newtodo 图标
This commit is contained in:
+6
-1
@@ -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: '网络问题,发送失败!😭(记得点下小锁图标,设置一下状态哦)'
|
||||
})
|
||||
}
|
||||
)},
|
||||
|
||||
Reference in New Issue
Block a user