1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +02:00

Merge pull request #6108 from kasimi/ticket/16677

[ticket/16677] Copy event listeners and element data when populating dropdown
This commit is contained in:
Máté Bartus
2021-01-04 21:38:12 +01:00
committed by GitHub

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