Abhishek Thakur
commited on
Commit
·
2ad2e0e
1
Parent(s):
26a655b
remove rogue elements
Browse files
competitions/templates/index.html
CHANGED
@@ -248,7 +248,6 @@
|
|
248 |
const newSubmission = document.getElementById('new_submission');
|
249 |
const mySubmissions = document.getElementById('my_submissions');
|
250 |
const submissionInfo = document.getElementById('submission_info');
|
251 |
-
const teamLink = document.getElementById('team');
|
252 |
|
253 |
// Add a click event listener to the 'Home' link
|
254 |
homeLink.addEventListener('click', function (event) {
|
@@ -283,10 +282,6 @@
|
|
283 |
event.preventDefault(); // Prevent the default link behavior
|
284 |
fetchAndDisplaySubmissionInfo(); // Fetch and display info on click
|
285 |
});
|
286 |
-
teamLink.addEventListener('click', function (event) {
|
287 |
-
event.preventDefault(); // Prevent the default link behavior
|
288 |
-
fetchAndDisplayTeamInfo(); // Fetch and display info on click
|
289 |
-
});
|
290 |
|
291 |
// Fetch and display info when the page loads
|
292 |
fetchAndDisplayCompetitionInfo();
|
|
|
248 |
const newSubmission = document.getElementById('new_submission');
|
249 |
const mySubmissions = document.getElementById('my_submissions');
|
250 |
const submissionInfo = document.getElementById('submission_info');
|
|
|
251 |
|
252 |
// Add a click event listener to the 'Home' link
|
253 |
homeLink.addEventListener('click', function (event) {
|
|
|
282 |
event.preventDefault(); // Prevent the default link behavior
|
283 |
fetchAndDisplaySubmissionInfo(); // Fetch and display info on click
|
284 |
});
|
|
|
|
|
|
|
|
|
285 |
|
286 |
// Fetch and display info when the page loads
|
287 |
fetchAndDisplayCompetitionInfo();
|