Commit db8c3d13 authored by Leksat's avatar Leksat Committed by borisson_

Issue #2851024 by Leksat: Do not pass the whole document to Drupal.attachBehaviors()

parent b7dd34e6
......@@ -62,7 +62,7 @@
// Replace links with dropdown.
$ul.after($dropdown).remove();
Drupal.attachBehaviors(document, Drupal.settings);
Drupal.attachBehaviors($dropdown.parent()[0], Drupal.settings);
});
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment