Abhishek Thakur
commited on
Commit
·
0cc17f3
1
Parent(s):
385467a
fix typo
Browse files
competitions/templates/index.html
CHANGED
@@ -283,9 +283,7 @@
|
|
283 |
fetchAndDisplaySubmissionInfo(); // Fetch and display info on click
|
284 |
});
|
285 |
|
286 |
-
// Fetch and display info
|
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();
|