replaced knockout hasfocus with autofocus=""

This commit is contained in:
djmaze 2021-03-23 22:57:40 +01:00
parent 650e962fdf
commit b4ab5b891a
12 changed files with 18 additions and 50 deletions

View file

@ -20,7 +20,6 @@ class TemplatePopupView extends AbstractViewPopup {
name: '',
nameError: false,
nameFocus: false,
body: '',
bodyLoading: false,
@ -144,10 +143,6 @@ class TemplatePopupView extends AbstractViewPopup {
this.editorSetBody('');
}
}
onShowWithDelay() {
this.nameFocus(true);
}
}
export { TemplatePopupView, TemplatePopupView as default };