2020-09-27 18:36:33 +02:00
|
|
|
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
|
2016-08-10 13:07:13 +02:00
|
|
|
/**
|
2023-03-21 04:16:32 +01:00
|
|
|
* JavaScript for the display module
|
2016-08-10 13:07:13 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
// Catch the GUID from the URL
|
2016-08-10 14:14:58 +02:00
|
|
|
var itemGuid = window.location.pathname.split("/").pop();
|
2016-08-10 13:07:13 +02:00
|
|
|
|
2021-01-22 14:38:44 +01:00
|
|
|
$(window).load(function () {
|
2016-08-10 13:07:13 +02:00
|
|
|
// Scroll to the Item by its GUID
|
2021-01-22 14:38:44 +01:00
|
|
|
scrollToItem("item-" + itemGuid);
|
2016-08-10 13:07:13 +02:00
|
|
|
});
|
2020-09-27 20:00:06 +02:00
|
|
|
// @license-end
|