More CSS, HTML & JS cleanups

This commit is contained in:
djmaze 2021-09-10 09:30:06 +02:00
parent 371b23a2f3
commit 985a4f5077
13 changed files with 54 additions and 74 deletions

View file

@ -192,7 +192,6 @@ class ContactsPopupView extends AbstractViewPopup {
case 'bcc':
bccEmails = aE;
break;
case 'to':
default:
toEmails = aE;
break;
@ -496,8 +495,8 @@ class ContactsPopupView extends AbstractViewPopup {
}
onShow(bBackToCompose, sLastComposeFocusedField) {
this.bBackToCompose = undefined === bBackToCompose ? false : !!bBackToCompose;
this.sLastComposeFocusedField = undefined === sLastComposeFocusedField ? '' : sLastComposeFocusedField;
this.bBackToCompose = !!bBackToCompose;
this.sLastComposeFocusedField = sLastComposeFocusedField;
rl.route.off();
this.reloadContactList(true);

View file

@ -124,7 +124,7 @@ class SieveScriptPopupView extends AbstractViewPopup {
onBuild(oDom) {
oDom.addEventListener('click', event => {
const el = event.target.closestWithin('.filter-item .e-action', oDom),
const el = event.target.closestWithin('td.e-action', oDom),
filter = el && ko.dataFor(el);
filter && this.editFilter(filter);
});