Mentions légales du service

Skip to content
Snippets Groups Projects
Commit acd004e0 authored by NINASSI Benjamin's avatar NINASSI Benjamin
Browse files

.

parent 63e04c05
No related branches found
No related tags found
No related merge requests found
......@@ -145,8 +145,12 @@
if (target.length) {
event.preventDefault();
var scrollOffset = $('#wpadminbar').height() + $('.header-classcode-v2').height() + $('.iai-header').height() + 80;
var adminbaroffset=0;
if($('#wpadminbar').height()){
adminbaroffset= $('#wpadminbar').height()
}
var scrollOffset = adminbaroffset + $('.header-classcode-v2').height() + $('.iai-header').height() + 80;
// console.log("scrollOffset", scrollOffset);
$('html, body').animate({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment