From c5baf3d7ef2715def79ff7734d505c56bb20012c Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Sat, 23 Dec 2023 19:46:25 +0330 Subject: Fix: float and clear Fix other background-positions Minor fix in link button icon position Update header left and right to start and end Signed-off-by: Mostafa Ahangarha --- core/js/public/publicpage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/js') diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js index 340fb56d9f1..b17eac181b1 100644 --- a/core/js/public/publicpage.js +++ b/core/js/public/publicpage.js @@ -5,7 +5,7 @@ window.addEventListener('DOMContentLoaded', function () { - $('#body-public').find('.header-right .menutoggle').click(function() { + $('#body-public').find('.header-end .menutoggle').click(function() { $(this).next('.popovermenu').toggleClass('open'); }); @@ -15,7 +15,7 @@ window.addEventListener('DOMContentLoaded', function () { }); $(document).mouseup(function(e) { - var toggle = $('#body-public').find('.header-right .menutoggle'); + var toggle = $('#body-public').find('.header-end .menutoggle'); var container = toggle.next('.popovermenu'); // if the target of the click isn't the menu toggle, nor a descendant of the -- cgit v1.2.3