frio: fix for display auto position scroll + some cleanup

This commit is contained in:
rabuzarus 2016-08-10 13:07:13 +02:00
parent c7eb7ba73f
commit 7e65d84577
3 changed files with 31 additions and 14 deletions

View file

@ -0,0 +1,11 @@
/**
* @brief Javascript for the display module
*/
// Catch the GUID from the URL
var itemID = window.location.pathname.split("/").pop();
$(document).ready(function(){
// Scroll to the Item by its GUID
scrollToItem(itemID);
});