|
@@ -78,7 +78,7 @@ function MarkBoard(option) {
|
|
|
});
|
|
|
this.markControl.on('key.up', this, function(e, context, event) {
|
|
|
var code = event.keyCode;
|
|
|
- //console.log('key up:' + code);
|
|
|
+ console.log('key up:' + code);
|
|
|
if (this.currentStep != undefined && this.task != undefined) {
|
|
|
if (code == 32) {
|
|
|
//空格键提交步骤分
|
|
@@ -95,7 +95,7 @@ function MarkBoard(option) {
|
|
|
}
|
|
|
} else if (code == 39) {
|
|
|
//→按键,切换到下一个步骤
|
|
|
- if (this.currentStep.number < this.stepCount && this.currentStep.markScore != undefined) {
|
|
|
+ if (this.currentStep.number < this.stepCount) {
|
|
|
this.resetCurrentStep();
|
|
|
this.markControl.trigger('mark.step.change', this.currentStep.number + 1);
|
|
|
event.preventDefault();
|