From 46dbcef9f1ac6c50b7b92e4a64863a789ea44be1 Mon Sep 17 00:00:00 2001 From: LC Date: Sun, 5 Nov 2023 01:37:33 +0100 Subject: [PATCH] =?UTF-8?q?lignes=20544=20=C3=A0=20553=20conflictuelles=20?= =?UTF-8?q?avec=20script=20fullpage=20(module=20album...)=20supprim=C3=A9e?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 9226d93..ae088b3 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -2,18 +2,19 @@ * This file is part of DeltaCMS. * For full copyright and license information, please see the LICENSE * file that was distributed with this source code. - * @author Sylvain Lelièvre + * @author Sylvain Lelièvre * @copyright 2021 © Sylvain Lelièvre - * @author Lionel Croquefer + * @author Lionel Croquefer * @copyright 2022 © Lionel Croquefer * @license GNU General Public License, version 3 * @link https://deltacms.fr/ + * @contact https://deltacms.fr/contact * * Delta was created from version 11.2.00.24 of ZwiiCMS * @author Rémi Jean - * @copyright Copyright (C) 2008-2018, Rémi Jean + * @copyright 2008-2018 © Rémi Jean * @author Frédéric Tempez - * @copyright Copyright (C) 2018-2021, Frédéric Tempez + * @copyright 2018-2021 © Frédéric Tempez */ var core = {}; @@ -536,22 +537,7 @@ core.relativeLuminanceW3C = function(rgba) { var B = (BsRGBA <= .03928) ? BsRGBA / 12.92 : Math.pow((BsRGBA + .055) / 1.055, 2.4); return .2126 * R + .7152 * G + .0722 * B; }; - - - -$(document).ready(function(){ - - /* Passage de petit écran à grand écran : annulation de position static et du padding */ - $(window).on("resize", function() { - if($(window).width() > 799 ) { - // Valeurs pour application immédiate avant reload - $("nav li ul").css("position","absolute"); - $("nav li ul").css("padding-left","0"); - $("nav ul li ul").css("display","none"); - location.reload(); - } - }); - + $(document).ready(function(){ /** * Affiche le sous-menu quand il est sticky */