From: Benoît Pin Date: Thu, 10 Jul 2014 13:52:27 +0000 (+0200) Subject: bugfix X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/628970a411a24c0e46ce892094a523e0e0f23698?ds=inline;hp=9f74f9ce0087b9e2406458847fb7e68863a7be2a bugfix --- diff --git a/skins/ajax_scripts/javascript_events_api.js b/skins/ajax_scripts/javascript_events_api.js index b4df40e..2539fd9 100644 --- a/skins/ajax_scripts/javascript_events_api.js +++ b/skins/ajax_scripts/javascript_events_api.js @@ -220,7 +220,7 @@ function _build_getWindowScrollX() { } else { return function(){ - return document.body.scrollLeft; + return document.documentElement.scrollLeft; }; } } @@ -233,7 +233,7 @@ function _build_getWindowScrollY() { } else { return function(){ - return document.body.scrollTop; + return document.documentElement.scrollTop; }; } }