unnecessary function

This commit is contained in:
Miodec 2022-09-01 14:24:55 +02:00
parent fc505af160
commit b5b3854d9e
2 changed files with 3 additions and 9 deletions

View file

@ -110,12 +110,6 @@ export function addNotification(
`);
}
export function init(): void {
$("#alertsPopup .list")
.empty()
.append(`<div class="nothing">Nothing to show</div>`);
}
$("#top #menu .showAlerts").on("click", () => {
show();
});

View file

@ -6,21 +6,21 @@
<i class="fas fa-bell"></i>
Account alerts
</div>
<div class="list"></div>
<div class="list"><div class="nothing">Nothing to show</div></div>
</div>
<div class="psas">
<div class="title">
<i class="fas fa-bullhorn"></i>
PSA's
</div>
<div class="list"></div>
<div class="list"><div class="nothing">Nothing to show</div></div>
</div>
<div class="notificationHistory">
<div class="title">
<i class="fas fa-comment-alt"></i>
Notifications history
</div>
<div class="list"></div>
<div class="list"><div class="nothing">Nothing to show</div></div>
</div>
</div>
</div>