mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-17 18:48:41 +00:00
Fix if/for spacing
This commit is contained in:
parent
ae40a9e104
commit
b5f5bd1be8
|
|
@ -16,14 +16,14 @@ jsOMS.Modules.Editor = class {
|
||||||
const e = typeof id === 'undefined' ? document.getElementsByClassName('m-editor') : [id],
|
const e = typeof id === 'undefined' ? document.getElementsByClassName('m-editor') : [id],
|
||||||
length = e.length;
|
length = e.length;
|
||||||
|
|
||||||
for(let i = 0; i < length; ++i) {
|
for (let i = 0; i < length; ++i) {
|
||||||
this.bindElement(e[i].id);
|
this.bindElement(e[i].id);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
bindElement (id)
|
bindElement (id)
|
||||||
{
|
{
|
||||||
if(typeof id === 'undefined' || !id) {
|
if (typeof id === 'undefined' || !id) {
|
||||||
// todo: do logging
|
// todo: do logging
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user