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

@ -19,13 +19,11 @@
let placeholder = config.freeform?.placeholder
let inline = config.freeform?.inline
$: {
console.log("Config is", config)
placeholder = config.freeform?.placeholder
inline = false
inline = config.freeform?.inline
}
console.log("Inline is", inline )
export let feedback: UIEventSource<Translation> = new UIEventSource<Translation>(undefined);
let dispatch = createEventDispatcher<{ "selected" }>();

View file

@ -24,7 +24,6 @@
const splt = _template.split("{" + key + "}")
before = splt[0]
after = splt[1]
console.log("Updating template to", _template, before, after)
}
}))
@ -34,14 +33,8 @@
const splt = _template.split("{" + key + "}")
before = splt[0]
after = splt[1]
console.log("Updating template to", _template, before, after)
}
}
$: {
console.log("B/A:", before, after)
}
</script>
<span>

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"})
}