diff options
Diffstat (limited to 'crocoite')
-rw-r--r-- | crocoite/data/scroll.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/data/scroll.js b/crocoite/data/scroll.js index e1fbbcb..8a4b35d 100644 --- a/crocoite/data/scroll.js +++ b/crocoite/data/scroll.js @@ -19,7 +19,7 @@ function save(obj) { /* perform a single scroll step */ function scroll (event) { window.scrollBy (0, window.innerHeight/2); - document.querySelectorAll ('*').forEach ( + document.querySelectorAll ('html body *').forEach ( function (d) { if (d.scrollHeight-d.scrollTop > d.clientHeight) { save (d); |