1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 12:04:12 +01:00

Remove useless var from getContainerOffsets.

This commit is contained in:
Doug Kearns
2009-10-02 00:41:49 +10:00
parent 2a67d973d6
commit c033ea3fab

View File

@@ -276,8 +276,6 @@ function Hints() //{{{
// the containing block offsets with respect to the viewport // the containing block offsets with respect to the viewport
function getContainerOffsets(doc) function getContainerOffsets(doc)
{ {
let body = (doc.body || doc.documentElement);
if (/^(absolute|fixed|relative)$/.test(util.computedStyle(body)["position"])) if (/^(absolute|fixed|relative)$/.test(util.computedStyle(body)["position"]))
{ {
let bodyRect = (doc.body || doc.documentElement).getClientRects()[0]; let bodyRect = (doc.body || doc.documentElement).getClientRects()[0];