From aaefb933635316c2dd4356933037e1f7dce9330b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Tue, 14 Dec 2021 18:55:19 +0100 Subject: [PATCH] Mise en attente line-height proportionnelle --- core/core.js.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 060f9fdc..6c75b3d1 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -376,11 +376,11 @@ core.start = function() { var height = heightpx.substr(0,heightpx.length-2); var ratio = width / height; if ( ($(window).width() / ratio) <= height) { - var feature = "getdata(['theme','header','feature']);?>"; + //var feature = "getdata(['theme','header','feature']);?>"; $("header").height( $(window).width() / ratio ); - if( feature !== "feature"){ - $("header").css("line-height", $(window).width() / ratio + "px"); - }; + //if( feature !== "feature"){ + // $("header").css("line-height", $(window).width() / ratio + "px"); + //}; } } }).trigger("resize");