sc was called incorrectly

This commit is contained in:
Chuck Dries 2017-03-03 06:57:52 -07:00
parent 51de5e8c0a
commit 88197c321d

View File

@ -198,7 +198,6 @@
<script>
var last_known_scroll = getScrollY();
var queueing = false;
//sc();
document.addEventListener("scroll", function() {
last_known_scroll = getScrollY();
if (!queueing) {
@ -210,6 +209,8 @@
queueing = true;
});
sc(last_known_scroll);
function sc(ypos) {
var wheight = window.innerHeight;