diff --git a/core/misc/announce.js b/core/misc/announce.js index 4d29df5..0f10748 100644 --- a/core/misc/announce.js +++ b/core/misc/announce.js @@ -34,7 +34,7 @@ * Attaches the behavior for drupalAnnouce. */ Drupal.behaviors.drupalAnnounce = { - attach: function () { + attach: function (context) { // Create only one aria-live element. if (!liveElement) { liveElement = document.createElement('div'); diff --git a/core/modules/system/templates/status-messages.html.twig b/core/modules/system/templates/status-messages.html.twig index 243df6e..e8f64e0 100644 --- a/core/modules/system/templates/status-messages.html.twig +++ b/core/modules/system/templates/status-messages.html.twig @@ -24,25 +24,26 @@ */ #}