Chromium Code Reviews| Index: chrome/browser/resources/settings/people_page/sync_page.js |
| diff --git a/chrome/browser/resources/settings/people_page/sync_page.js b/chrome/browser/resources/settings/people_page/sync_page.js |
| index 7ac0f0db0e0672dfd21c4b62c5b09e8765d56071..01c9c24a6f0c992442efc58f310fbca8d08fb086 100644 |
| --- a/chrome/browser/resources/settings/people_page/sync_page.js |
| +++ b/chrome/browser/resources/settings/people_page/sync_page.js |
| @@ -420,6 +420,15 @@ Polymer({ |
| return !emptyPassphrase && !mismatchedPassphrase; |
| }, |
| + |
| + /** |
| + * Stop the propagation of events, so that clicking on links inside checkbox |
| + * labels won't change the checkbox value. |
| + * @param {!Event} event |
| + */ |
| + stopPropagation_: function(event) { |
|
dpapad
2016/11/19 02:04:38
Nit:
onLearnMoreTap_: function() {
// Move comme
scottchen
2016/11/21 18:33:46
Done.
|
| + event.stopPropagation(); |
| + } |
| }); |
| })(); |