From 4ab316d8dad4bccb9ff8a622b17ab64415969639 Mon Sep 17 00:00:00 2001 From: Deltacms Date: Tue, 4 Apr 2023 18:04:10 +0200 Subject: [PATCH] =?UTF-8?q?menu=20fixe=20en=20petit=20=C3=A9cran?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 3 +++ 1 file changed, 3 insertions(+) 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'); }; });