Remove useless clearPopup() functions

This commit is contained in:
djmaze 2021-11-03 14:58:34 +01:00
parent ba895ba887
commit 2a7348081a
9 changed files with 20 additions and 82 deletions

View file

@ -86,7 +86,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewPopup {
}
}
clearPopup() {
onShow() {
this.name('');
this.password('');
@ -96,10 +96,6 @@ class NewOpenPgpKeyPopupView extends AbstractViewPopup {
this.submitError('');
}
onShow() {
this.clearPopup();
}
}
export { NewOpenPgpKeyPopupView, NewOpenPgpKeyPopupView as default };