diff options
Diffstat (limited to 'crocoite')
| -rw-r--r-- | crocoite/data/scroll.js | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/crocoite/data/scroll.js b/crocoite/data/scroll.js index 0d1a4a7..13e856d 100644 --- a/crocoite/data/scroll.js +++ b/crocoite/data/scroll.js @@ -7,6 +7,12 @@ function scroll (event) {  		return false;  	} else {  		window.scrollBy (0, window.innerHeight/2); +		document.querySelectorAll ('*').forEach ( +			function (d) { +				if (d.clientHeight < d.scrollHeight) { +					d.scrollBy (0, d.clientHeight/2); +				} +			});  		return true;  	}  } | 
