Add delay to initial execute

pull/4696/head
Berkeley Martinez 2015-11-21 21:17:39 -08:00
parent d2be64cfb5
commit 6f98f62dd9
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ $(document).ready(function() {
challengeType !== '4' &&
challengeType !== '7'
) {
common.executeChallenge$()
Observable.just({})
.delay(500)
.flatMap(() => common.executeChallenge$())
.subscribe(
({ original, tests }) => {
common.codeStorage.updateStorage(challengeName, original);