frio: highlight - wait until the whole page is loaded
This commit is contained in:
parent
cf23a81c33
commit
5e440e5359
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
// Catch the GUID from the URL
|
// Catch the GUID from the URL
|
||||||
var itemGuid = window.location.pathname.split("/").pop();
|
var itemGuid = window.location.pathname.split("/").pop();
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(window).load(function(){
|
||||||
// Scroll to the Item by its GUID
|
// Scroll to the Item by its GUID
|
||||||
scrollToItem('item-'+itemGuid);
|
scrollToItem('item-'+itemGuid);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue