From: Hypolite Petovan Date: Sat, 20 May 2017 17:18:20 +0000 (-0400) Subject: Frio: Fix hubzilla scrollToItem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=87e7fac397d3a077dc1c7f49e53ec9d0cd6de739;p=friendica.git Frio: Fix hubzilla scrollToItem - Removed unnecessary item guid truncation --- 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); });