sforkowany z mirror/friendica
Frio: Fix hubzilla scrollToItem
- Removed unnecessary item guid truncation2022.09-rc
rodzic
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);
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue