Issue #3320055 by nod_, alexpott: Use document in bigpipe first attachBehaviors call
parent
cc24ab06c9
commit
8ab3fbdadf
|
@ -115,7 +115,7 @@
|
||||||
const observer = new MutationObserver(processMutations);
|
const observer = new MutationObserver(processMutations);
|
||||||
|
|
||||||
// Attach behaviors early, if possible.
|
// Attach behaviors early, if possible.
|
||||||
Drupal.attachBehaviors(document.body);
|
Drupal.attachBehaviors(document);
|
||||||
|
|
||||||
// If loaded asynchronously there might already be replacement elements
|
// If loaded asynchronously there might already be replacement elements
|
||||||
// in the DOM before the mutation observer is started.
|
// in the DOM before the mutation observer is started.
|
||||||
|
|
Loading…
Reference in New Issue