Skip to content

Commit

Permalink
에러 페이지 노출됐을때 매크로 멈춤 증상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
changdoc committed Jul 11, 2021
1 parent 1d5a2fc commit 3047516
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,6 @@ const reload = () => {
return;
}

if (!document.querySelector(".process_list")) {
console.log("can't found process list, ignored macro.");
return;
}

if (document.querySelector(".agree_all")) {
let checkList = document.querySelectorAll('.input_check');
if (checkList != null && checkList.length > 0)
Expand All @@ -195,6 +190,11 @@ const reload = () => {
if (isTest)
buttonText = "[TEST MODE] " + buttonText;

if (!document.querySelector(".process_list")) {
console.log("can't found process list, ignored macro.");
return;
}

document.querySelector(".process_list").insertAdjacentHTML(
"beforeend",
`
Expand Down

0 comments on commit 3047516

Please sign in to comment.