mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 01:48:40 +00:00
manual cs fixes
This commit is contained in:
parent
ca6b8a0fe8
commit
37ebdbab35
|
|
@ -778,7 +778,7 @@ export class Form
|
|||
selectors[i] = selectors[i].trim();
|
||||
// this handles selectors such as 'ancestor > child/or/sibling' and many more
|
||||
const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
|
||||
const selLength = selector.length;;
|
||||
const selLength = selector.length;
|
||||
const closest = selector[0].trim();
|
||||
|
||||
let subSelector = '';
|
||||
|
|
@ -1027,7 +1027,7 @@ export class Form
|
|||
// 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
|
||||
let selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
|
||||
const selLength = selector.length;;
|
||||
const selLength = selector.length;
|
||||
let closest = selector[0].trim();
|
||||
|
||||
// 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();
|
||||
|
||||
const selector = !selectors[i].startsWith('#') ? selectors[i].split(' ') : [selectors[i]];
|
||||
const selLength = selector.length;;
|
||||
const selLength = selector.length;
|
||||
const closest = selector[0].trim();
|
||||
|
||||
let subSelector = '';
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@
|
|||
jsOMS.removeClass = function (ele, cls)
|
||||
{
|
||||
if (jsOMS.hasClass(ele, cls)) {
|
||||
const reg = new RegExp('(\\s|^)' + cls + '(\\s|$)');
|
||||
const reg = new RegExp('(\\s|^)' + cls + '(\\s|$)');
|
||||
|
||||
if (typeof ele.className === 'string') {
|
||||
ele.className = ele.className.replace(reg, '');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user