Commit 848870b9 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Fix offline gaia focus request

Fixed: 1045321
Change-Id: Ic50d44b76861b691100cd207edcf24b3d591150d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076597
Auto-Submit: Denis Kuznetsov [CET] <antrim@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745033}
parent 6c02d606
...@@ -945,10 +945,10 @@ Polymer({ ...@@ -945,10 +945,10 @@ Polymer({
// Workaround to hide flashing scroll bar. // Workaround to hide flashing scroll bar.
this.async(function() { this.async(function() {
this.loadingFrameContents_ = false; this.loadingFrameContents_ = false;
}.bind(this), 100);
if (!this.$['offline-gaia'].hidden) if (!this.$['offline-gaia'].hidden)
this.$['offline-gaia'].focus(); this.$['offline-gaia'].focus();
}.bind(this), 100);
}, },
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment