frio: highlight - wait until the whole page is loaded

This commit is contained in:
rabuzarus 2016-08-10 14:26:16 +02:00
parent cf23a81c33
commit 5e440e5359

View file

@ -5,7 +5,7 @@
// Catch the GUID from the URL
var itemGuid = window.location.pathname.split("/").pop();
$(document).ready(function(){
$(window).load(function(){
// Scroll to the Item by its GUID
scrollToItem('item-'+itemGuid);
});