mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 14:18:00 +01:00
set horizontal offset to 0
This commit is contained in:
@@ -1801,7 +1801,8 @@ table.settings th {\
|
||||
return;
|
||||
}
|
||||
var pos = cumulativeOffset(element);
|
||||
window.content.scrollTo(pos[0], pos[1]);
|
||||
// horizontal offset is annyoing, set it to 0 (use pos[0] if you want horizontal offset)
|
||||
window.content.scrollTo(0, pos[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user