Improve functionality and allow rebinding if user doesn't hit control-enter
This commit is contained in:
@ -45,7 +45,7 @@ block content
|
||||
if (e.ctrlKey && e.keyCode == 13) {
|
||||
$('#next-courseware-button').click();
|
||||
} else {
|
||||
$('#complete-courseware-dialog').bind('keypress', modalControlEnterHandler);
|
||||
$('#complete-zipline-or-basejump-dialog').on('keypress', modalControlEnterHandler);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user