diff --git a/templates/contest/log.html b/templates/contest/log.html
index 5227840..c80d5b4 100644
--- a/templates/contest/log.html
+++ b/templates/contest/log.html
@@ -136,7 +136,7 @@ $(document).ready(function() {
$("#id_call").on("keydown", function(e) { return mvFocusOnSpace(e, "#id_otherNo"); });
$("#id_otherNo").on("keydown", function(e) { return mvFocusOnSpace(e, "#id_refStr"); });
- $("#id_refStr").on("keydown", function(e) { return mvFocusOnSpace(e, "#submit-id-submit"); });
+ $("#id_refStr").on("keydown", function(e) { return mvFocusOnSpace(e, "#id_call"); });
// display current time in log form
function zeropad(n) {