master
yutent 2023-03-13 10:49:50 +08:00
parent 34b5bcbdbd
commit c0682bff33
1 changed files with 29 additions and 31 deletions

View File

@ -4,8 +4,7 @@
* @date 2020/11/04 17:54:49 * @date 2020/11/04 17:54:49
*/ */
chrome.runtime.onInstalled.addListener(() => { chrome.action.onClicked.addListener(function (ctab) {
chrome.action.onClicked.addListener(function (ctab) {
var cid = ctab.id var cid = ctab.id
var tid = null var tid = null
@ -43,5 +42,4 @@ chrome.runtime.onInstalled.addListener(() => {
) )
} }
}) })
})
}) })