mirror of
https://github.com/friendica/friendica
synced 2024-12-29 02:02:19 +00:00
17 lines
469 B
JavaScript
17 lines
469 B
JavaScript
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
|
|
/**
|
|
* 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);
|
|
});
|
|
// @license-end
|