mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-10 15:38:42 +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],
|
||||
length = e.length;
|
||||
|
||||
for(let i = 0; i < length; ++i) {
|
||||
for (let i = 0; i < length; ++i) {
|
||||
this.bindElement(e[i].id);
|
||||
}
|
||||
};
|
||||
|
||||
bindElement (id)
|
||||
{
|
||||
if(typeof id === 'undefined' || !id) {
|
||||
if (typeof id === 'undefined' || !id) {
|
||||
// todo: do logging
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user