add cursor & close inputhelper

This commit is contained in:
Michael
2020-08-23 22:08:37 +02:00
parent 98df538403
commit 2aeef9c83e
3 changed files with 11 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ function setInputFieldType(value) {
return field;
}
function setText(heading, description) {
setHeading(heading);
setDescription(description);
@@ -47,8 +48,8 @@ function getInput() {
return input.value.length != 0 ? input.value : null;
}
function closeWindow() {
// TODO: Fenster schließen
close.onclick = function closeWindow() {
mp.trigger('closeinputhelper');
console.log('Fenster geschlossen!');
}