Commit 17f1e86d by Иван Кубота

fix2

parent 906e9ad7
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
D.div({cls: 'msg', renderTo: log}, D.span({cls: 'msg-bold'}, 'Connected')); D.div({cls: 'msg', renderTo: log}, D.span({cls: 'msg-bold'}, 'Connected'));
}, },
answerQuiz: function(data){ answerQuiz: function(data){
if( questionsHashGlobal[data.question.id])
questionsHashGlobal[data.question.id].el.className = 'question '+(data.question.correct?'correct': 'incorrect') questionsHashGlobal[data.question.id].el.className = 'question '+(data.question.correct?'correct': 'incorrect')
/* /*
D.div({cls: 'msg', renderTo: log}, D.span({cls: 'msg-bold'}, data.user.name.join(' ')), 'начал тест из', D.div({cls: 'msg', renderTo: log}, D.span({cls: 'msg-bold'}, data.user.name.join(' ')), 'начал тест из',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment