[ticket/16677] Copy event listeners and element data when populating dropdown

PHPBB3-16677
This commit is contained in:
kasimi 2021-01-04 18:45:36 +01:00
parent 144dc69370
commit a0feca9711
No known key found for this signature in database
GPG key ID: 3163AB573241193A

View file

@ -544,7 +544,7 @@ function parseDocument($container) {
}
// Copy the list items to the dropdown
if (!copied1) {
var $clones1 = $linksFirst.clone();
var $clones1 = $linksFirst.clone(true);
$menuContents.prepend($clones1.addClass('clone clone-first').removeClass('leftside rightside'));
if ($this.hasClass('post-buttons')) {