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); });