From 3e2a1f9930dcf65fcbbb48624b9d0a563435f071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Tessier?= Date: Wed, 18 Apr 2018 11:41:05 +0200 Subject: [PATCH] fixlink and js --- ...33e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php | 8 ++++---- user/themes/ethica/js/script.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cache/twig/e7/e75bff12bc1ba233e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php b/cache/twig/e7/e75bff12bc1ba233e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php index 96a1150..a87799c 100644 --- a/cache/twig/e7/e75bff12bc1ba233e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php +++ b/cache/twig/e7/e75bff12bc1ba233e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php @@ -185,9 +185,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817 // line 55 echo "
- + \"\" - Ethica-spinoza.net + app.ethica-spinoza.net
@@ -322,9 +322,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817 {% block header_navigation %}{% endblock %}
- + \"\" - Ethica-spinoza.net + app.ethica-spinoza.net
diff --git a/user/themes/ethica/js/script.js b/user/themes/ethica/js/script.js index f4f4699..fadbb0d 100644 --- a/user/themes/ethica/js/script.js +++ b/user/themes/ethica/js/script.js @@ -93,7 +93,7 @@ function clickd() { function Openfp() { var $divgal = $( ""); var $button = $( ""); - var $img = $("img") + var $img = $("section img") $img.each(function(index) { @@ -144,7 +144,7 @@ function clickd() { $('.menu-ui').on("click", function(event) { $('.navigation').slideToggle('slow'); }); - +//bug here $('section').on("click", function(event) { $('.navigation').slideUp('slow'); }); @@ -158,6 +158,7 @@ function clickd() { scrollW(); clickd(); } else { + openmenu_ui(); scrollTop(); } } @@ -168,7 +169,6 @@ function clickd() { gallery(); Openfp(); liclick(); - openmenu_ui(); redimensionnement(); window.addEventListener('resize', redimensionnement, false); });