From 2951ce80efc20cb970f0952d82585739631ac259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 15 Dec 2021 17:29:57 +0100 Subject: [PATCH] line-height rejected --- core/core.js.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 060f9fdc..5454b1bf 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -376,11 +376,7 @@ 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']);?>"; $("header").height( $(window).width() / ratio ); - if( feature !== "feature"){ - $("header").css("line-height", $(window).width() / ratio + "px"); - }; } } }).trigger("resize");