Please add an EOF EOL
[friendica.git/.git] / view / theme / frio / js / mod_display.js
1 // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPLv3-or-later
2 /**
3  * Javascript for the display module
4  */
5
6 // Catch the GUID from the URL
7 var itemGuid = window.location.pathname.split("/").pop();
8
9 $(window).load(function(){
10         // Scroll to the Item by its GUID
11         scrollToItem('item-' + itemGuid);
12 });
13 // @license-end