fix(code-uri): Chrome iframe error with XSS Auditor

- remove solution from URI when read
- remove querify solution upon edit or reset
This commit is contained in:
Mrugesh Mohapatra
2017-05-27 00:24:16 +05:30
parent 8fe1a5d5a9
commit 338ef4ce5f
3 changed files with 15 additions and 2 deletions

View File

@@ -24,7 +24,6 @@ $(document).ready(function() {
code$.subscribe(
code => {
common.codeStorage.updateStorage(common.challengeName, code);
common.codeUri.querify(code);
},
err => console.error(err)
);
@@ -72,7 +71,6 @@ $(document).ready(function() {
return common.updateOutputDisplay('' + err);
}
common.codeStorage.updateStorage(challengeName, originalCode);
common.codeUri.querify(originalCode);
common.displayTestResults(tests, true);
common.updateOutputDisplay(output);
return null;