Unverified Commit b0fd8e23 by Harry Rein Committed by GitHub

Merge pull request #16387 from edx/HarryRein/up-arrow-scrolling

Allow scrolling up on LMS.
parents dff11d97 4608aee3
......@@ -106,7 +106,7 @@ $(document).on('keydown', function(e) {
}
// Enable arrow functionality within the menu.
if (e.keyCode === 38 || e.keyCode === 40 && (isDropdownOption || isMobileOption ||
if ((e.keyCode === 38 || e.keyCode === 40) && (isDropdownOption || isMobileOption ||
(isHamburgerMenu && $hamburgerMenu.hasClass('open')) || isToggle && $toggleUserDropdown.hasClass('open'))) {
isNext = e.keyCode === 40;
if (isNext && !isHamburgerMenu && !isToggle && isLastItem) {
......
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