From c033ea3fab98ec0648024234223d5bb960c3646e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 2 Oct 2009 00:41:49 +1000 Subject: [PATCH] Remove useless var from getContainerOffsets. --- common/content/hints.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/content/hints.js b/common/content/hints.js index 7e07e0f6..090c5c3c 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -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];