Skip to content
Snippets Groups Projects
Commit 5288bbdf authored by derheap's avatar derheap
Browse files

Remove some debugging stuff.

parent a6fadc34
No related branches found
No related tags found
No related merge requests found
...@@ -378,7 +378,6 @@ recorded will be open sourced and will be made avaialable to download.</p></sect ...@@ -378,7 +378,6 @@ recorded will be open sourced and will be made avaialable to download.</p></sect
const main = document.querySelector('main'); const main = document.querySelector('main');
const height = body.clientHeight; const height = body.clientHeight;
const maxScroll = height - window.innerHeight; const maxScroll = height - window.innerHeight;
console.log(main)
const setTransform = (el, factor) => { const setTransform = (el, factor) => {
if (el) { if (el) {
el.style.transform ="translate3D(0,"+ window.scrollY * factor + "px,0)" el.style.transform ="translate3D(0,"+ window.scrollY * factor + "px,0)"
...@@ -405,7 +404,6 @@ recorded will be open sourced and will be made avaialable to download.</p></sect ...@@ -405,7 +404,6 @@ recorded will be open sourced and will be made avaialable to download.</p></sect
setTransform(layer10,-0.02); setTransform(layer10,-0.02);
// Move mask for header // Move mask for header
if (main) { if (main) {
console.log(main)
main.style.maskPositionY = window.scrollY-320 + "px"; main.style.maskPositionY = window.scrollY-320 + "px";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment