Browse Source

fixlink and js

Kévin Tessier 6 years ago
parent
commit
3e2a1f9930

+ 4 - 4
cache/twig/e7/e75bff12bc1ba233e5039aff5a4ef7bc6d23c7b4b250837b1fc67ad4ea09bcd7.php

@@ -185,9 +185,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817
         // line 55
         echo "            </div>
             <div class=\"app\">
-              <a href=\"https://ethica-spinoza.net/\">
+              <a href=\"https://app.ethica-spinoza.net/\">
                 <img src=\"/user/themes/ethica/images/logo.svg\" alt=\"\">
-              <strong>Ethica-spinoza.net</strong>
+              <strong>app.ethica-spinoza.net</strong>
             </a>
             </div>
             <div class=\"separation\"></div>
@@ -322,9 +322,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817
                 {% block header_navigation %}{% endblock %}
             </div>
             <div class=\"app\">
-              <a href=\"https://ethica-spinoza.net/\">
+              <a href=\"https://app.ethica-spinoza.net/\">
                 <img src=\"/user/themes/ethica/images/logo.svg\" alt=\"\">
-              <strong>Ethica-spinoza.net</strong>
+              <strong>app.ethica-spinoza.net</strong>
             </a>
             </div>
             <div class=\"separation\"></div>

+ 3 - 3
user/themes/ethica/js/script.js

@@ -93,7 +93,7 @@ function clickd() {
   function Openfp() {
     var $divgal = $( "<div id='gallery'></div>");
     var $button = $( "<button class=button></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);
   });