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(); |
}; |
window.Flow = Flow; |