frio: highlight - wait until the whole page is loaded
authorrabuzarus <rabuzarus@t-online.de>
Wed, 10 Aug 2016 12:26:16 +0000 (14:26 +0200)
committerrabuzarus <rabuzarus@t-online.de>
Wed, 10 Aug 2016 12:26:16 +0000 (14:26 +0200)
view/theme/frio/js/mod_display.js

index c93d2c0..8660882 100644 (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);
 });