aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 20:51:58 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-24 20:51:58 +0300
commit4639d4fc86a56eccc6ae9e7fa295111535c3fdb7 (patch)
tree693b40e42c4fcac343d15323cbf6cfed80025e0d
parent3b1260fd286539929905bc35e625cdd213a3ef2c (diff)
downloadforums-4639d4fc86a56eccc6ae9e7fa295111535c3fdb7.tar
forums-4639d4fc86a56eccc6ae9e7fa295111535c3fdb7.tar.gz
forums-4639d4fc86a56eccc6ae9e7fa295111535c3fdb7.tar.bz2
forums-4639d4fc86a56eccc6ae9e7fa295111535c3fdb7.tar.xz
forums-4639d4fc86a56eccc6ae9e7fa295111535c3fdb7.zip
[ticket/11956] Reverse order of .rightside items in dropdown
PHPBB3-11956
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index 23dfae9fab..b9604c3248 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -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;