1 // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
3 * Javascript for the display module
6 // Catch the GUID from the URL
7 var itemGuid = window.location.pathname.split("/").pop();
9 $(window).load(function () {
10 // Scroll to the Item by its GUID
11 scrollToItem("item-" + itemGuid);