X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_display.js;h=fd74ccb3cebc2ad65d27fb5cd2c504adad87883e;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=c93d2c00665d6b5f62c65357ad1eba1e715491a8;hpb=cf23a81c33eb29153196e01d9a68d45230ff1933;p=friendica.git diff --git a/view/theme/frio/js/mod_display.js b/view/theme/frio/js/mod_display.js index c93d2c0066..fd74ccb3ce 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); + scrollToItem('item-' + itemGuid); });