Fixed Zooming not centering on container
This commit is contained in:
parent
2b9bf20eb2
commit
c9fc0d5aaa
@ -81,7 +81,8 @@
|
||||
scrollToSection(document.getElementById("header"));
|
||||
|
||||
window.addEventListener("resize", e => {
|
||||
e.preventDefault();
|
||||
console.log(selectedId)
|
||||
scrollToSection(document.getElementById(selectedId));
|
||||
});
|
||||
|
||||
document.addEventListener("keydown", e => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user