Frio: Fix hubzilla scrollToItem
- Removed unnecessary item guid truncation
This commit is contained in:
parent
bd62f10697
commit
87e7fac397
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue