Change Settings static element map access to query selector
CL 2088233 wrapped some elements on the privacy page into dom-if's such that they no longer appear in the static element map accessed with .$. Code that relied on these elements existing in this map thus failed. This CL changes these call sites to instead use the query selector $$ call, which will successfully return the elements inside a dom-if. Bug: 1058960 Change-Id: I2e0380a7e5f4251865f5ae809037401fccbc7446 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090456 Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com> Reviewed-by:dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#747434}
Showing
Please register or sign in to comment