1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

[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')) {