Skip to content

Commit

Permalink
Merge pull request juice-shop#1541 from cnotin/pr-devtools-console-clear
Browse files Browse the repository at this point in the history
Fix devtools detection perf issue on Firefox
  • Loading branch information
bkimminich authored Dec 21, 2020
2 parents 11baacc + 250ba46 commit 711c5f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/hacking-instructor/helpers/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export function waitForDevTools () {
return async () => {
while (true) {
console.dir(element)
console.clear()
if (checkStatus) {
break
}
Expand Down

0 comments on commit 711c5f9

Please sign in to comment.