Skip to content

Commit

Permalink
Merge pull request #110 from BRO3886/main
Browse files Browse the repository at this point in the history
fix(gfg): fixed submission error
  • Loading branch information
QasimWani authored Jul 9, 2021
2 parents 87dd96b + f5992bf commit 8c723bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gfg.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const gfgLoader = setInterval(() => {
const submission = setInterval(() => {
let output = document.getElementsByClassName('out')[0]
.innerText;
if (output.includes('Correct Answer') && START_MONITOR) {
if (output.includes('Problem Solved Successfully') && START_MONITOR) {
// clear timeout
START_MONITOR = false;
clearInterval(gfgLoader);
Expand Down

0 comments on commit 8c723bd

Please sign in to comment.