2016-08-10 13:07:13 +02:00
|
|
|
/**
|
|
|
|
* @brief Javascript for the display module
|
|
|
|
*/
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
// Scroll to the Item by its GUID
|
2016-08-10 14:14:58 +02:00
|
|
|
scrollToItem('item-'+itemGuid);
|
2016-08-10 13:07:13 +02:00
|
|
|
});
|