Chore: remove some obsolete console.log-statements

This commit is contained in:
Pieter Vander Vennet 2023-06-12 01:40:22 +02:00
parent 5a6ed7bf21
commit 138b2ada2f
3 changed files with 0 additions and 11 deletions

View file

@ -1350,7 +1350,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
public static scrollIntoView(element: HTMLBaseElement) {
console.log("Scrolling into view:", element)
// Is the element completely in the view?
const parentRect = Utils.findParentWithScrolling(
element
@ -1364,7 +1363,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
if (inView) {
return
}
console.log("Actually scrolling...")
element.scrollIntoView({behavior: "smooth", block: "nearest"})
}