1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fix bug where edit widget input-tag is empty (#4088)

This commit is contained in:
Simon Huber 2019-07-30 14:49:05 +02:00 committed by Jeremy Ruston
parent e669ec098f
commit 0a2d532a7b

View File

@ -193,7 +193,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
type = type || "text";
}
// Get the rest of our parameters
this.editTag = this.getAttribute("tag",tag);
this.editTag = this.getAttribute("tag",tag) || "input";
this.editType = this.getAttribute("type",type);
// Make the child widgets
this.makeChildWidgets();