[Media Router UI] Fix updateMaxHeight() console error
The error appears when we try to update the dialog height before the container element is initialized. We will update later when the element is initialized. Bug: 799912 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: Ia24832275a46e753da48be9223f0a3ec83463d04 Reviewed-on: https://chromium-review.googlesource.com/919310Reviewed-by:Derek Cheng <imcheng@chromium.org> Commit-Queue: Takumi Fujimoto <takumif@chromium.org> Cr-Commit-Position: refs/heads/master@{#537863}
Showing
Please register or sign in to comment