frio: fix for display auto position scroll + some cleanup
This commit is contained in:
11
view/theme/frio/js/mod_display.js
Normal file
11
view/theme/frio/js/mod_display.js
Normal 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);
|
||||
});
|
||||
Reference in New Issue
Block a user