From: rabuzarus Date: Wed, 10 Aug 2016 12:26:16 +0000 (+0200) Subject: frio: highlight - wait until the whole page is loaded X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5e440e5359ce77f6fc9b902890876b624e599518;p=friendica.git frio: highlight - wait until the whole page is loaded --- diff --git a/view/theme/frio/js/mod_display.js b/view/theme/frio/js/mod_display.js index c93d2c0066..86608821e5 100644 --- a/view/theme/frio/js/mod_display.js +++ b/view/theme/frio/js/mod_display.js @@ -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); });