Difference between revisions of "Template:Groningen"

Line 999: Line 999:
 
  }
 
  }
  
 +
if ('scrollRestoration' in history) {
 +
  history.scrollRestoration = 'manual';
 +
}
 +
 
  $('html,body').animate( {
 
  $('html,body').animate( {
   window.setTimeout(function() { scrollTop: $(target).offset().top - 90 }, 0);
+
   scrollTop: $(target).offset().top - 90
 
   },1000,function() { location.hash = target; });
 
   },1000,function() { location.hash = target; });
 
}
 
}

Revision as of 13:19, 31 October 2017