Merge pull request #3479 from Hypolite/3.5.2rc
Frio: Fix Hubzilla scrollToItem
This commit is contained in:
commit
23010d8562
|
@ -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 New Issue
Block a user