mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:03:41 +00:00
11 lines
237 B
JavaScript
11 lines
237 B
JavaScript
/**
|
|
* Javascript for the display module
|
|
*/
|
|
|
|
// Catch the GUID from the URL
|
|
var itemGuid = window.location.pathname.split("/").pop();
|
|
|
|
$(window).load(function(){
|
|
// Scroll to the Item by its GUID
|
|
scrollToItem('item-' + itemGuid);
|
|
});
|