Not adding no-op onClick event to experiment descriptions
Currently, every experiment description div element receives an onclick event, which will do an action only if a condition holds. This PR will make a change to not add the onclick event if it's no-op. Bug: 986535 Change-Id: I2cde879823faa19f700b18e97c20e4e28dffd84b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713599Reviewed-by:calamity <calamity@chromium.org> Commit-Queue: Andrii Sagaidak <ansagaid@microsoft.com> Cr-Commit-Position: refs/heads/master@{#679830}
Showing
Please register or sign in to comment