diff --git a/public/js/app.js b/public/js/app.js index 5750a7d..98c641a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -189,6 +189,13 @@ } function renderRouteControl() { + const routeControlLists = $('.route-control-list'); + routeControlLists.attr('aria-busy', 'true'); + + $('#route-control-server-title').text(`Aktive Strecken (${state.routes.length})`); + $('#route-control-local-title').text(`Lokale Strecken (${state.localRoutes.length})`); + $('#local-route-title').text(`Lokale Strecken (${state.localRoutes.length})`); + updateRouteControlSummary(); renderRouteControlList( '#route-control-server-list', @@ -202,6 +209,8 @@ 'local', state.localRoutesError || 'Noch keine lokale Strecke vorhanden.' ); + + routeControlLists.attr('aria-busy', 'false'); } function renderRoutes() {