projects
/
qomet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'update'
[qomet.git]
/
public
/
javascripts
/
evaluation.js
diff --git
a/public/javascripts/evaluation.js
b/public/javascripts/evaluation.js
index
565794f
..
49ba6e5
100644
(file)
--- a/
public/javascripts/evaluation.js
+++ b/
public/javascripts/evaluation.js
@@
-55,9
+55,8
@@
new Vue({
if (evaluation.mode == "watch")
{
window.addEventListener("focus", () => {
if (evaluation.mode == "watch")
{
window.addEventListener("focus", () => {
- if (this.stage != 2)
- return;
- socket.emit(message.studentFocus, {number:this.student.number});
+ if (this.stage == 2)
+ socket.emit(message.studentFocus, {number:this.student.number});
}, false);
}
window.addEventListener("resize", e => {
}, false);
}
window.addEventListener("resize", e => {