fixed navbar location observer
This commit is contained in:
+2
-2
@@ -91,8 +91,8 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, {
|
}, {
|
||||||
threshold: 0.3,
|
threshold: 0,
|
||||||
rootMargin: "0px 0px -30% 0px"
|
rootMargin: "0px 0px -80% 0px"
|
||||||
});
|
});
|
||||||
|
|
||||||
sections.forEach(section => observer.observe(section));
|
sections.forEach(section => observer.observe(section));
|
||||||
|
|||||||
Reference in New Issue
Block a user