mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Fix freeze screen after failing the first test
This commit is contained in:
@@ -91,10 +91,18 @@ $(".btnQuestion").click(function () {
|
||||
|
||||
$(".btnClose").click(function () {
|
||||
$.post('http://esx_dmvschool/close', JSON.stringify({}));
|
||||
userAnswer = [];
|
||||
goodAnswer = [];
|
||||
questionUsed = [];
|
||||
questionNumber = 1;
|
||||
});
|
||||
|
||||
$(".btnKick").click(function () {
|
||||
$.post('http://esx_dmvschool/kick', JSON.stringify({}));
|
||||
userAnswer = [];
|
||||
goodAnswer = [];
|
||||
questionUsed = [];
|
||||
questionNumber = 1;
|
||||
});
|
||||
|
||||
// Handle Form Submits
|
||||
|
||||
Reference in New Issue
Block a user