X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_display.js;h=fd74ccb3cebc2ad65d27fb5cd2c504adad87883e;hb=cf9a65cded8e8f270aedbb3ba46d5fe2fe351b4c;hp=ed126d60cdb19f2f4417d1fca9434b9cac30a587;hpb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;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); });