Commit 1dd19ce0 authored by Kyle Milka's avatar Kyle Milka Committed by Commit Bot

[NTP] Scroll to top when opening the richer picker

Bug: 937570
Change-Id: I03a33767498591dbe4c72594253766227659c809
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1700175
Commit-Queue: Kyle Milka <kmilka@chromium.org>
Auto-Submit: Kyle Milka <kmilka@chromium.org>
Reviewed-by: default avatarGayane Petrosyan <gayane@chromium.org>
Cr-Commit-Position: refs/heads/master@{#677114}
parent b9199bcc
......@@ -1343,6 +1343,7 @@ customize.richerPicker_resetCustomizationMenu = function() {
* Close and reset the customization menu.
*/
customize.richerPicker_closeCustomizationMenu = function() {
$(customize.IDS.BACKGROUNDS_MENU).scrollTop = 0;
$(customize.IDS.CUSTOMIZATION_MENU).close();
customize.richerPicker_resetCustomizationMenu();
......
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