mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 05:38:00 +01:00
Fix bug in last commit.
This commit is contained in:
@@ -276,8 +276,7 @@ function Hints() //{{{
|
||||
function getBodyOffsets(doc)
|
||||
{
|
||||
let bodyRect = (doc.body || doc.documentElement).getBoundingClientRect();
|
||||
return [doc.defaultView.scrollX - bodyRect.left,
|
||||
doc.defaultView.scrollY - bodyRect.top];
|
||||
return [-bodyRect.left, -bodyRect.top];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user