Commit 9291cc8c authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Fix check applied to wrong element

When the daily refresh toggle was deselected it was applying the
selected state to the wrong element.

Bug: 996147
Change-Id: I76bbb4590701636a56439940f1d69afe359661ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763339Reviewed-by: default avatarGayane Petrosyan <gayane@chromium.org>
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689189}
parent 4b84d3c3
...@@ -1045,7 +1045,7 @@ customize.richerPicker_toggleRefreshDaily = function(toggledOn) { ...@@ -1045,7 +1045,7 @@ customize.richerPicker_toggleRefreshDaily = function(toggledOn) {
$(customize.IDS.REFRESH_TOGGLE).checked = toggledOn; $(customize.IDS.REFRESH_TOGGLE).checked = toggledOn;
if (!toggledOn) { if (!toggledOn) {
customize.richerPicker_selectBackgroundTile( customize.richerPicker_selectBackgroundTile(
$(customize.IDS.BACKGROUNDS_DEFAULT)); $(customize.IDS.BACKGROUNDS_DEFAULT_ICON));
return; return;
} }
......
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