Skip to content
Snippets Groups Projects

Refactor inbox_block_script library.

1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -88,7 +88,9 @@
Drupal.PrivateMessageUtils.parseHTML(threadsHtml).childNodes;
newNodes.forEach((node) => {
const appendedElement = this.container.appendChild(node.cloneNode(true));
const appendedElement = this.container.appendChild(
node.cloneNode(true),
);
Drupal.attachBehaviors(appendedElement);
Drupal.PrivateMessageSlide.toggleSlide(appendedElement, true);
Loading