Abhishek Thakur commited on
Commit
0cc17f3
·
1 Parent(s): 385467a
Files changed (1) hide show
  1. competitions/templates/index.html +4 -3
competitions/templates/index.html CHANGED
@@ -283,9 +283,7 @@
283
  fetchAndDisplaySubmissionInfo(); // Fetch and display info on click
284
  });
285
 
286
- // Fetch and display info wh
287
-
288
- en the page loads
289
  fetchAndDisplayCompetitionInfo();
290
 
291
  document.querySelector('#submission-modal .cancel').addEventListener('click', function () {
@@ -294,6 +292,9 @@
294
  });
295
 
296
  </script>
 
 
 
297
  <script>
298
  function makeApiRequest(url, callback) {
299
  var xhr = new XMLHttpRequest();
 
283
  fetchAndDisplaySubmissionInfo(); // Fetch and display info on click
284
  });
285
 
286
+ // Fetch and display info when the page loads
 
 
287
  fetchAndDisplayCompetitionInfo();
288
 
289
  document.querySelector('#submission-modal .cancel').addEventListener('click', function () {
 
292
  });
293
 
294
  </script>
295
+
296
+
297
+
298
  <script>
299
  function makeApiRequest(url, callback) {
300
  var xhr = new XMLHttpRequest();