zhangwei 2 年之前
父节点
当前提交
4ef4f317bd
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/logic/content/twitter.js

+ 3 - 3
src/logic/content/twitter.js

@@ -712,9 +712,9 @@ export function checkTwitterTaskState() {
             chrome.runtime.sendMessage({ actionType: "DO_TASK", tweet_Id, task_type, task_data, task_done: false }, () => { })
         })
         // 点击 蒙层
-        // if (e.target && e.target.nextSibling && e.target.nextSibling.dataset && e.target.nextSibling.dataset.testid == 'confirmationSheetDialog') {
-        //     chrome.runtime.sendMessage({ actionType: "DO_TASK", tweet_Id, task_type, task_data, task_done: false }, () => { })
-        // }
+        if (e.target && e.target.nextSibling && e.target.nextSibling.dataset && e.target.nextSibling.dataset.testid == 'confirmationSheetDialog') {
+            chrome.runtime.sendMessage({ actionType: "DO_TASK", tweet_Id, task_type, task_data, task_done: false }, () => { })
+        }
     }, true)
 
     let observer = new MutationObserver(() => {