1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

[ticket/11956] Reverse order of .rightside items in dropdown

PHPBB3-11956
This commit is contained in:
Vjacheslav Trushkin 2013-10-24 20:51:58 +03:00
parent 3b1260fd28
commit 4639d4fc86

View File

@ -906,7 +906,11 @@ function parse_document(container)
responsive = true;
if (!copied) {
menu.append(links.clone(true));
var clone = links.clone(true);
clone.filter('.rightside').each(function() {
menu.prepend(this);
});
menu.prepend(clone.not('.rightside'));
menu.find('li.leftside, li.rightside').removeClass('leftside rightside');
menu.find('.inputbox').parents('li:first').css('white-space', 'normal');
copied = true;