mirror of
https://github.com/friendica/friendica
synced 2024-11-11 15:41:35 +01:00
87e7fac397
- Removed unnecessary item guid truncation
12 lines
244 B
JavaScript
12 lines
244 B
JavaScript
/**
|
|
* @brief 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);
|
|
});
|