friendica/view/theme/frio/js/mod_display.js

14 lines
360 B
JavaScript
Raw Normal View History

// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
/**
2020-01-19 01:05:23 -05:00
* Javascript for the display module
*/
// Catch the GUID from the URL
var itemGuid = window.location.pathname.split("/").pop();
2021-01-22 08:38:44 -05:00
$(window).load(function () {
// Scroll to the Item by its GUID
2021-01-22 08:38:44 -05:00
scrollToItem("item-" + itemGuid);
});
2020-09-27 14:00:06 -04:00
// @license-end