X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/9f74f9ce0087b9e2406458847fb7e68863a7be2a..ac1b519455256a4680c3221787a4ae1b77212248:/skins/ajax_scripts/javascript_events_api.js 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; }; } }