fixlink and js

This commit is contained in:
2018-04-18 11:41:05 +02:00
parent 145c8a0f89
commit 3e2a1f9930
2 changed files with 7 additions and 7 deletions
@@ -185,9 +185,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817
// line 55 // line 55
echo " </div> echo " </div>
<div class=\"app\"> <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=\"\"> <img src=\"/user/themes/ethica/images/logo.svg\" alt=\"\">
<strong>Ethica-spinoza.net</strong> <strong>app.ethica-spinoza.net</strong>
</a> </a>
</div> </div>
<div class=\"separation\"></div> <div class=\"separation\"></div>
@@ -322,9 +322,9 @@ class __TwigTemplate_e91027722cad10716b56a087dd291b69ab5964f7591be07fc46b0fc6817
{% block header_navigation %}{% endblock %} {% block header_navigation %}{% endblock %}
</div> </div>
<div class=\"app\"> <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=\"\"> <img src=\"/user/themes/ethica/images/logo.svg\" alt=\"\">
<strong>Ethica-spinoza.net</strong> <strong>app.ethica-spinoza.net</strong>
</a> </a>
</div> </div>
<div class=\"separation\"></div> <div class=\"separation\"></div>
+3 -3
View File
@@ -93,7 +93,7 @@ function clickd() {
function Openfp() { function Openfp() {
var $divgal = $( "<div id='gallery'></div>"); var $divgal = $( "<div id='gallery'></div>");
var $button = $( "<button class=button></button>"); var $button = $( "<button class=button></button>");
var $img = $("img") var $img = $("section img")
$img.each(function(index) { $img.each(function(index) {
@@ -144,7 +144,7 @@ function clickd() {
$('.menu-ui').on("click", function(event) { $('.menu-ui').on("click", function(event) {
$('.navigation').slideToggle('slow'); $('.navigation').slideToggle('slow');
}); });
//bug here
$('section').on("click", function(event) { $('section').on("click", function(event) {
$('.navigation').slideUp('slow'); $('.navigation').slideUp('slow');
}); });
@@ -158,6 +158,7 @@ function clickd() {
scrollW(); scrollW();
clickd(); clickd();
} else { } else {
openmenu_ui();
scrollTop(); scrollTop();
} }
} }
@@ -168,7 +169,6 @@ function clickd() {
gallery(); gallery();
Openfp(); Openfp();
liclick(); liclick();
openmenu_ui();
redimensionnement(); redimensionnement();
window.addEventListener('resize', redimensionnement, false); window.addEventListener('resize', redimensionnement, false);
}); });