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 placeholder = config.freeform?.placeholder
|
||||||
let inline = config.freeform?.inline
|
let inline = config.freeform?.inline
|
||||||
$: {
|
$: {
|
||||||
console.log("Config is", config)
|
|
||||||
placeholder = config.freeform?.placeholder
|
placeholder = config.freeform?.placeholder
|
||||||
inline = false
|
inline = false
|
||||||
inline = config.freeform?.inline
|
inline = config.freeform?.inline
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("Inline is", inline )
|
|
||||||
export let feedback: UIEventSource<Translation> = new UIEventSource<Translation>(undefined);
|
export let feedback: UIEventSource<Translation> = new UIEventSource<Translation>(undefined);
|
||||||
|
|
||||||
let dispatch = createEventDispatcher<{ "selected" }>();
|
let dispatch = createEventDispatcher<{ "selected" }>();
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@
|
||||||
const splt = _template.split("{" + key + "}")
|
const splt = _template.split("{" + key + "}")
|
||||||
before = splt[0]
|
before = splt[0]
|
||||||
after = splt[1]
|
after = splt[1]
|
||||||
console.log("Updating template to", _template, before, after)
|
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
@ -34,14 +33,8 @@
|
||||||
const splt = _template.split("{" + key + "}")
|
const splt = _template.split("{" + key + "}")
|
||||||
before = splt[0]
|
before = splt[0]
|
||||||
after = splt[1]
|
after = splt[1]
|
||||||
console.log("Updating template to", _template, before, after)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$: {
|
|
||||||
console.log("B/A:", before, after)
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span>
|
<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) {
|
public static scrollIntoView(element: HTMLBaseElement) {
|
||||||
console.log("Scrolling into view:", element)
|
|
||||||
// Is the element completely in the view?
|
// Is the element completely in the view?
|
||||||
const parentRect = Utils.findParentWithScrolling(
|
const parentRect = Utils.findParentWithScrolling(
|
||||||
element
|
element
|
||||||
|
|
@ -1364,7 +1363,6 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
||||||
if (inView) {
|
if (inView) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log("Actually scrolling...")
|
|
||||||
element.scrollIntoView({behavior: "smooth", block: "nearest"})
|
element.scrollIntoView({behavior: "smooth", block: "nearest"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue