Added website limit and show more button. Closes #592.

This commit is contained in:
Mike Cao committed 2022-03-01 23:03:50 -08:00
1 parent 7a3c1e9faa
commit 373dbf50ba
8 files changed
+87 -26

No files matched your search

+1 -2
View File
@@ -25,9 +25,8 @@ export default function StickyHeader({
}
};
checkPosition();
if (enabled) {
checkPosition();
window.addEventListener('scroll', checkPosition);
}