Chromium Code Reviews| Index: chrome/browser/resources/hotword_audio_verification/flow.js |
| diff --git a/chrome/browser/resources/hotword_audio_verification/flow.js b/chrome/browser/resources/hotword_audio_verification/flow.js |
| index 635456a06650e4a47640fa85cbcd4ad929572492..0ba06570fc18082d004a9d50ba5b00f7c3f9e6cd 100644 |
| --- a/chrome/browser/resources/hotword_audio_verification/flow.js |
| +++ b/chrome/browser/resources/hotword_audio_verification/flow.js |
| @@ -73,6 +73,8 @@ |
| */ |
| Flow.prototype.showStep_ = function() { |
| var currentStep = this.currentFlow_[this.currentStepIndex_]; |
| + document.getElementById(currentStep).hidden = false; |
| + |
| var previousStep = null; |
| if (this.currentStepIndex_ > 0) |
| previousStep = this.currentFlow_[this.currentStepIndex_ - 1]; |
| @@ -80,7 +82,7 @@ |
| if (previousStep) |
| document.getElementById(previousStep).hidden = true; |
| - document.getElementById(currentStep).hidden = false; |
| + chrome.app.window.current().show(); |
|
Dan Beam
2014/10/24 02:37:19
can current() return null or undefined?
Dan Beam
2014/10/27 15:53:38
ping
kcarattini
2014/10/27 22:59:19
Done.
|
| }; |
| window.Flow = Flow; |