|
@@ -422,10 +422,10 @@ var rules={
|
|
onEnterPress:function () {
|
|
onEnterPress:function () {
|
|
// body...
|
|
// body...
|
|
if(main.current.classList.contains("item")){
|
|
if(main.current.classList.contains("item")){
|
|
- var ischeck=false
|
|
|
|
|
|
+ var ischeck=true
|
|
for (var i = 0; i < this.hotbtn.length; i++) {
|
|
for (var i = 0; i < this.hotbtn.length; i++) {
|
|
if(this.hotbtn[i].classList.contains("cur_answer")){
|
|
if(this.hotbtn[i].classList.contains("cur_answer")){
|
|
- ischeck=true;
|
|
|
|
|
|
+ ischeck=false;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if(ischeck){
|
|
if(ischeck){
|