mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
lint: Run eslint --fix
This commit is contained in:
parent
8eb310854d
commit
c8211f2898
9 changed files with 23 additions and 23 deletions
|
@ -316,7 +316,7 @@ const getHTMLFromAtext = async (pad, atext, authorColors) => {
|
|||
if ((!prevLine || prevLine.listLevel !== line.listLevel) ||
|
||||
(line.listTypeName !== prevLine.listTypeName)) {
|
||||
const exists = _.find(openLists, (item) => (
|
||||
item.level === line.listLevel && item.type === line.listTypeName)
|
||||
item.level === line.listLevel && item.type === line.listTypeName),
|
||||
);
|
||||
if (!exists) {
|
||||
let prevLevel = 0;
|
||||
|
|
|
@ -103,8 +103,8 @@ _.extend(Button.prototype, {
|
|||
tag('button', {
|
||||
'class': ` ${this.attributes.class}`,
|
||||
'data-l10n-id': this.attributes.localizationId,
|
||||
})
|
||||
)
|
||||
}),
|
||||
),
|
||||
);
|
||||
},
|
||||
});
|
||||
|
@ -145,7 +145,7 @@ _.extend(SelectButton.prototype, Button.prototype, {
|
|||
'data-type': 'select',
|
||||
};
|
||||
return tag('li', attributes,
|
||||
this.select({id: this.attributes.selectId})
|
||||
this.select({id: this.attributes.selectId}),
|
||||
);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue