WebUI: Fix cr.ui.List as JS module
When running as JS module which is strict by default, the code fails to assign to `e.target`. Fix this by declaring a local variable `target` with the desired Closure type markup. Bug: 1133186 Change-Id: I5033eae87310e4eebdae2e2b22487df8ffc01a19 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2636904 Commit-Queue: calamity <calamity@chromium.org> Reviewed-by:calamity <calamity@chromium.org> Auto-Submit: Luciano Pacheco <lucmult@chromium.org> Cr-Commit-Position: refs/heads/master@{#845047}
Showing
Please register or sign in to comment