frio: highlight - use offset() instead of postion()
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
*/
|
||||
|
||||
// Catch the GUID from the URL
|
||||
var itemID = window.location.pathname.split("/").pop();
|
||||
var itemGuid = window.location.pathname.split("/").pop();
|
||||
|
||||
$(document).ready(function(){
|
||||
// Scroll to the Item by its GUID
|
||||
scrollToItem(itemID);
|
||||
scrollToItem('item-'+itemGuid);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user