mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16677] Copy event listeners and element data when populating dropdown
PHPBB3-16677
This commit is contained in:
parent
144dc69370
commit
a0feca9711
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ function parseDocument($container) {
|
||||||
}
|
}
|
||||||
// Copy the list items to the dropdown
|
// Copy the list items to the dropdown
|
||||||
if (!copied1) {
|
if (!copied1) {
|
||||||
var $clones1 = $linksFirst.clone();
|
var $clones1 = $linksFirst.clone(true);
|
||||||
$menuContents.prepend($clones1.addClass('clone clone-first').removeClass('leftside rightside'));
|
$menuContents.prepend($clones1.addClass('clone clone-first').removeClass('leftside rightside'));
|
||||||
|
|
||||||
if ($this.hasClass('post-buttons')) {
|
if ($this.hasClass('post-buttons')) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue