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

@ -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));
});