rahuln2002 commited on
Commit
1bec298
·
verified ·
1 Parent(s): c4b4060

Update static/script.js

Browse files
Files changed (1) hide show
  1. 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