diff --git a/core/core.js.php b/core/core.js.php index 39cc17e..0130657 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -489,9 +489,12 @@ $(document).ready(function(){ var changeIcon = $('#toggle').children("span"); if ( $(changeIcon).hasClass('zwiico-menu') ) { $(changeIcon).removeClass('zwiico-menu').addClass('zwiico-cancel'); + $("#navfixedlogout, #navfixedconnected").css('position','static'); + $('html, body').animate({ scrollTop: '0px'}, 100); } else { $(changeIcon).addClass('zwiico-menu'); + $("#navfixedlogout, #navfixedconnected").css('position','sticky'); }; });