Merge pull request #9317 from marxin/fix-left-arrow-hotkey

Fix missing break statement for arrow shortcuts.
This commit is contained in:
Takeshi KOMIYA
2021-06-13 20:26:24 +09:00
committed by GitHub

View File

@@ -301,12 +301,14 @@ var Documentation = {
window.location.href = prevHref;
return false;
}
break;
case 39: // right
var nextHref = $('link[rel="next"]').prop('href');
if (nextHref) {
window.location.href = nextHref;
return false;
}
break;
}
}
});