X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_display.js;h=fd74ccb3cebc2ad65d27fb5cd2c504adad87883e;hb=20a2918bdaaa9108765228a9cabdab1c52de329e;hp=ed126d60cdb19f2f4417d1fca9434b9cac30a587;hpb=3fa4605ace7fd76a9bcd7c56531abea8d7e0c43b;p=friendica.git diff --git a/view/theme/frio/js/mod_display.js b/view/theme/frio/js/mod_display.js index ed126d60cd..fd74ccb3ce 100644 --- a/view/theme/frio/js/mod_display.js +++ b/view/theme/frio/js/mod_display.js @@ -4,9 +4,8 @@ // Catch the GUID from the URL var itemGuid = window.location.pathname.split("/").pop(); -var itemGuidSafe = itemGuid.replace(/%.*/, ''); $(window).load(function(){ // Scroll to the Item by its GUID - scrollToItem('item-' + itemGuidSafe); + scrollToItem('item-' + itemGuid); });