Verified Commit 8ab3fbda authored by Alex Pott's avatar Alex Pott
Browse files

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

parent cc24ab06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.