Commit 6a822303 authored by Yunke Zhou's avatar Yunke Zhou Committed by Commit Bot

Oobe eula screen: fix click checkbox issue

User is not able to click on the text to toggle the checkbox

Bug: 1103513
Change-Id: I8d71fb4eaaad1130938d2b316202003937f5b2ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289427Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Reviewed-by: default avatarRenato Silva <rrsilva@google.com>
Commit-Queue: Yunke Zhou <yunkez@google.com>
Cr-Commit-Position: refs/heads/master@{#787683}
parent 7a5e2f3c
......@@ -50,7 +50,7 @@
checked="{{usageStatsChecked}}" on-change="onUsageChanged_"
aria-labelledby="usageStatsLabel">
<div id="usageStatsLabelContainer">
<span id="usageStatsLabel" on-tap="usageStatsLabelClicked_">
<span id="usageStatsLabel">
[[i18nDynamic(locale, 'checkboxLogging')]]
</span>
<a id="learn-more" href="#"
......
......@@ -243,13 +243,4 @@ Polymer({
isPasswordEmpty_(password) {
return password != null && password.length == 0;
},
/**
* Switches usage stats toggle state.
*
* @private
*/
usageStatsLabelClicked_() {
this.usageStatsChecked = !this.usageStatsChecked;
},
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment