1
1
Fork 0
friendica_2019-12_sharedHos.../view/theme/frio/js/mod_display.js

12 lines
242 B
JavaScript

/**
* @brief Javascript for the display module
*/
// Catch the GUID from the URL
var itemGuid = window.location.pathname.split("/").pop();
$(window).load(function(){
// Scroll to the Item by its GUID
scrollToItem('item-'+itemGuid);
});