mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
More CSS, HTML & JS cleanups
This commit is contained in:
parent
371b23a2f3
commit
985a4f5077
13 changed files with 54 additions and 74 deletions
|
|
@ -53,7 +53,7 @@ export class TemplatesUserSettings {
|
|||
|
||||
onBuild(oDom) {
|
||||
oDom.addEventListener('click', event => {
|
||||
const el = event.target.closestWithin('.templates-list .template-item .e-action', oDom);
|
||||
const el = event.target.closestWithin('td.e-action', oDom);
|
||||
el && ko.dataFor(el) && this.editTemplate(ko.dataFor(el));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue