[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 469/483: issue 351 - use clientHeight instead of innerHeight to not consider the horizontal scrollbar during element selection
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:42:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.
commit 348aa63d0a182227ee1aa8dd3cb7655d20f70489
Author: Manvel Saroyan <manvel at adblockplus.org>
Date: Wed Aug 27 02:03:57 2014 +0400
issue 351 - use clientHeight instead of innerHeight to not consider the horizontal scrollbar during element selection
---
lib/aardvark.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/aardvark.js b/lib/aardvark.js
index 173a49f..52c5727 100644
--- a/lib/aardvark.js
+++ b/lib/aardvark.js
@@ -381,7 +381,7 @@ let Aardvark = exports.Aardvark =
getWindowSize: function(wnd)
{
- return [wnd.innerWidth, wnd.innerHeight];
+ return [wnd.innerWidth, wnd.document.documentElement.clientHeight];
},
getElementPosition: function(element)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git
More information about the Pkg-mozext-commits
mailing list