really important
This commit is contained in:
2
index.js
2
index.js
@@ -169,7 +169,7 @@ function answerCheck(n) {
|
|||||||
{
|
{
|
||||||
var user = JSON.parse(localStorage.getItem("studData"));
|
var user = JSON.parse(localStorage.getItem("studData"));
|
||||||
user.score += 1;
|
user.score += 1;
|
||||||
localStorage.setItem("studData", JSON.stringify(studData));
|
localStorage.setItem("studData", JSON.stringify(user));
|
||||||
}
|
}
|
||||||
nextQ();
|
nextQ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user