]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/mod_display.js
Frio: admin/user template fixes
[friendica.git] / view / theme / frio / js / mod_display.js
index ed126d60cdb19f2f4417d1fca9434b9cac30a587..fd74ccb3cebc2ad65d27fb5cd2c504adad87883e 100644 (file)
@@ -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);
 });