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