Files app: Fix QuickView as JS module
When running as JS module which is strict by default, the IF condition was raising an exception because the Polymer variable isn't defined. Fix by checking the variable explicitly in the global scope. Bug: 1133186 Change-Id: If62e8d5fd45a4453e67810c04a6bdf3cf2033fa0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2637097 Commit-Queue: Luciano Pacheco <lucmult@chromium.org> Commit-Queue: Jeremie Boulic <jboulic@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Reviewed-by:Jeremie Boulic <jboulic@chromium.org> Cr-Commit-Position: refs/heads/master@{#844691}
Showing
Please register or sign in to comment