Skip to content

Commit

Permalink
Merge pull request #9317 from marxin/fix-left-arrow-hotkey
Browse files Browse the repository at this point in the history
Fix missing break statement for arrow shortcuts.
  • Loading branch information
tk0miya committed Jun 13, 2021
2 parents c685c48 + 445b9ad commit 355937a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sphinx/themes/basic/static/doctools.js
Expand Up @@ -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;
}
}
});
Expand Down

0 comments on commit 355937a

Please sign in to comment.