friendica/view/theme/frio/js/mod_display.js

12 lines
237 B
JavaScript
Raw Normal View History

/**
2020-01-19 01:05:23 -05:00
* 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);
});