Issue #3320055 by nod_, alexpott: Use document in bigpipe first attachBehaviors call

merge-requests/3751/head
Alex Pott 2023-04-03 09:22:33 +01:00
parent cc24ab06c9
commit 8ab3fbdadf
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
const observer = new MutationObserver(processMutations);
// Attach behaviors early, if possible.
Drupal.attachBehaviors(document.body);
Drupal.attachBehaviors(document);
// If loaded asynchronously there might already be replacement elements
// in the DOM before the mutation observer is started.