From 87e7fac397d3a077dc1c7f49e53ec9d0cd6de739 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 May 2017 13:18:20 -0400 Subject: [PATCH] Frio: Fix hubzilla scrollToItem - Removed unnecessary item guid truncation --- view/theme/frio/js/mod_display.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }); -- 2.39.5