forked from MapComplete/MapComplete
Chore: remove some obsolete console.log-statements
This commit is contained in:
parent
5a6ed7bf21
commit
138b2ada2f
3 changed files with 0 additions and 11 deletions
2
Utils.ts
2
Utils.ts
|
@ -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"})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue