Skip to content

Commit

Permalink
Fixed Continue button showing on timed pauses
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Talonpoika committed Feb 27, 2016
1 parent b488dac commit ea7f237
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TextPrinter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ class TextPrinter
s = str.split("pause ")
s = s[1].split(/\s|\"/)[0]
@pause = s
if document.querySelector("#continue-button") != null
document.querySelector("#continue-button").style.display = 'inline';
if @pause == "input"
if document.querySelector("#continue-button") != null
document.querySelector("#continue-button").style.display = 'inline';
if str.indexOf("execute-command") > -1
s = str.split("execute-command ")
s = s[1].split(/\s|\"/)[0]
Expand Down

0 comments on commit ea7f237

Please sign in to comment.