manual cs fixes

This commit is contained in:
Dennis Eichhorn 2020-09-01 20:57:48 +02:00
parent ca6b8a0fe8
commit 37ebdbab35
2 changed files with 4 additions and 4 deletions

View File

@ -778,7 +778,7 @@ export class Form
selectors[i] = selectors[i].trim(); selectors[i] = selectors[i].trim();
// this handles selectors such as 'ancestor > child/or/sibling' and many more // this handles selectors such as 'ancestor > child/or/sibling' and many more
const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]]; const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
const selLength = selector.length;; const selLength = selector.length;
const closest = selector[0].trim(); const closest = selector[0].trim();
let subSelector = ''; let subSelector = '';
@ -1027,7 +1027,7 @@ export class Form
// todo: similar logic is in updatable Inline and probably in External... pull out? // todo: similar logic is in updatable Inline and probably in External... pull out?
// this handles selectors such as 'ancestor > child/or/sibling' and many more // this handles selectors such as 'ancestor > child/or/sibling' and many more
let selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]]; let selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
const selLength = selector.length;; const selLength = selector.length;
let closest = selector[0].trim(); let closest = selector[0].trim();
// template elements (= elements which just got added due to the update/edit button, here the new data is stored) // template elements (= elements which just got added due to the update/edit button, here the new data is stored)
@ -1241,7 +1241,7 @@ export class Form
selectors[i] = selectors[i].trim(); selectors[i] = selectors[i].trim();
const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]]; const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
const selLength = selector.length;; const selLength = selector.length;
const closest = selector[0].trim(); const closest = selector[0].trim();
let subSelector = ''; let subSelector = '';