changeset 2752:dd6783198978

Shifted Login button to the right in modify view in basic theme
author Ajitesh Gupta <ajgupta93@gmail.com>
date Mon, 18 Aug 2014 19:12:09 +0530
parents 0c8b5e6868ec
children 37cf0c227a6e
files MoinMoin/templates/basic.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/basic.js	Mon Aug 18 18:50:20 2014 +0530
+++ b/MoinMoin/templates/basic.js	Mon Aug 18 19:12:09 2014 +0530
@@ -8,4 +8,7 @@
     $('ul.dropdown-menu').removeClass('submenu');
     $('.topnavcollapse').addClass('collapse');
     $('.moin-navbar-collapse').removeClass('in');
+    if ($('li.active > a.moin-modify-button').length) {
+        $('.moin-loginsettings').addClass('moin-pull-right');
+    }
 });