Skip to content

Commit

Permalink
fix startup
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Feb 14, 2019
1 parent f8d2413 commit 5e2d773
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ $clearElem.addEventListener('click', handleClearClick, false);

Promise.all([
setInitialQuickref(),
setInitialOutputType()
.then(handleOutputChange),
setInitialOutputType(),
setInitialText(),
setInitialVersion()
.then(setInitialOptions)
]).then(function () {
handleInputChange();
handleOutputChange();
checkForChanges();
setScrollPercent(0);
});
Expand Down

0 comments on commit 5e2d773

Please sign in to comment.