Javascript quand la page est chargée fix2

This commit is contained in:
nyanloutre 2018-10-28 18:14:20 +01:00
parent 8d651e6d7b
commit c36769923c
1 changed files with 2 additions and 2 deletions

View File

@ -954,7 +954,7 @@
<?php include('include_foot.html'); ?> <?php include('include_foot.html'); ?>
<script> <script>
$( document ).ready(function(){$('.carousel').each(function(){ window.onload = function(){$('.carousel').each(function(){
var items = $(this).find(".item"), var items = $(this).find(".item"),
heights = [], heights = [],
tallest; tallest;
@ -979,7 +979,7 @@
normalizeHeights(); //run it again normalizeHeights(); //run it again
}); });
} }
})}) })}
</script> </script>
</body> </body>