fix bug in noticesStr

This commit is contained in:
SethBurkart123
2023-11-24 07:36:52 +11:00
parent 23656a0d69
commit f411095a36
+1 -1
View File
@@ -2343,7 +2343,7 @@ function SendHomePage() {
document.getElementById('home-container').append(upcomingcontainer); document.getElementById('home-container').append(upcomingcontainer);
// Creates the notices container into the home container // Creates the notices container into the home container
const NoticesStr = `<div class="notices-container border"><div style="display: flex; justify-content: space-between"><h2 class="home-subtitle">Notices</h2><input type="date" value=${TodayFormatted}><select></select></div><div class="notice-container" id="notice-container"></div></div>` const NoticesStr = `<div class="notices-container border"><div style="display: flex; justify-content: space-between"><h2 class="home-subtitle">Notices</h2><input type="date" value=${TodayFormatted}</div><div class="notice-container" id="notice-container"></div></div>`
var Notices = stringToHTML(NoticesStr); var Notices = stringToHTML(NoticesStr);
// Appends the shortcut container into the home container // Appends the shortcut container into the home container
document.getElementById('home-container').append(Notices.firstChild); document.getElementById('home-container').append(Notices.firstChild);