mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 11:54:13 +01:00
Remove useless var from getContainerOffsets.
This commit is contained in:
@@ -276,8 +276,6 @@ function Hints() //{{{
|
||||
// the containing block offsets with respect to the viewport
|
||||
function getContainerOffsets(doc)
|
||||
{
|
||||
let body = (doc.body || doc.documentElement);
|
||||
|
||||
if (/^(absolute|fixed|relative)$/.test(util.computedStyle(body)["position"]))
|
||||
{
|
||||
let bodyRect = (doc.body || doc.documentElement).getClientRects()[0];
|
||||
|
||||
Reference in New Issue
Block a user