From b5b3854d9e297d91baef552af1e58f37762f2e38 Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 1 Sep 2022 14:24:55 +0200 Subject: [PATCH] unnecessary function --- frontend/src/ts/elements/alerts.ts | 6 ------ frontend/static/html/popups.html | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/frontend/src/ts/elements/alerts.ts b/frontend/src/ts/elements/alerts.ts index db811b571..6c0cf7522 100644 --- a/frontend/src/ts/elements/alerts.ts +++ b/frontend/src/ts/elements/alerts.ts @@ -110,12 +110,6 @@ export function addNotification( `); } -export function init(): void { - $("#alertsPopup .list") - .empty() - .append(`
Nothing to show
`); -} - $("#top #menu .showAlerts").on("click", () => { show(); }); diff --git a/frontend/static/html/popups.html b/frontend/static/html/popups.html index c4768a142..eab7062ef 100644 --- a/frontend/static/html/popups.html +++ b/frontend/static/html/popups.html @@ -6,21 +6,21 @@ Account alerts -
+
Nothing to show
PSA's
-
+
Nothing to show
Notifications history
-
+
Nothing to show