2016-08-10 11:07:13 +00:00
|
|
|
/**
|
|
|
|
* @brief Javascript for the display module
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Catch the GUID from the URL
|
2016-08-10 12:14:58 +00:00
|
|
|
var itemGuid = window.location.pathname.split("/").pop();
|
2016-08-10 11:07:13 +00:00
|
|
|
|
2016-08-10 12:26:16 +00:00
|
|
|
$(window).load(function(){
|
2016-08-10 11:07:13 +00:00
|
|
|
// Scroll to the Item by its GUID
|
2016-08-10 12:14:58 +00:00
|
|
|
scrollToItem('item-'+itemGuid);
|
2016-08-10 11:07:13 +00:00
|
|
|
});
|