Skip to content

Commit

Permalink
made nirnroot warning spam only happen in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEbert committed Dec 18, 2021
1 parent 36fd5a3 commit 5f9df29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions guide.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ function replaceElements(){
identifiedClass: element?.classList[0],
contents: element?.innerText
}
console.warn("replaceable element not found in reference: ");
console.warn(classStuff);
if(window.debug){
console.warn("replaceable element not found in reference: ");
console.warn(classStuff);
}
}
}
}
Expand Down

0 comments on commit 5f9df29

Please sign in to comment.