diff --git a/aqt/reviewer.py b/aqt/reviewer.py index 89f5b08d9..a3d44a740 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -155,6 +155,11 @@ function _onSpace() { py.link(document.activeElement.href); } } +function _typeAnsPress() { + if (window.event.keyCode === 13) { + _showans(); + } +} $(document).ready(function () { $(".ansbut").focus(); }); @@ -388,7 +393,8 @@ div#filler { return "" return """