1
0
Fork 0
friendica_2020-09-1_sharedH.../view/theme/frio/js/mod_display.js
Josh Soref 594cf63a16 spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:13:07 -04:00

14 lines
360 B
JavaScript

// @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