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
|
@ -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" }>();
|
||||
|
|
|
@ -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>
|
||||
|
|
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