Spaces:
Running
Running
Update static/script.js
Browse files- static/script.js +4 -0
static/script.js
CHANGED
@@ -40,6 +40,10 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
40 |
}
|
41 |
}
|
42 |
|
|
|
|
|
|
|
|
|
43 |
document.querySelector("select[name='tasks']").addEventListener("change", toggleElements);
|
44 |
document.getElementById("user_text").addEventListener("input", updateCount);
|
45 |
|
|
|
40 |
}
|
41 |
}
|
42 |
|
43 |
+
function showLoading() {
|
44 |
+
document.getElementById("loading").style.display = "block";
|
45 |
+
}
|
46 |
+
|
47 |
document.querySelector("select[name='tasks']").addEventListener("change", toggleElements);
|
48 |
document.getElementById("user_text").addEventListener("input", updateCount);
|
49 |
|