mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
tidy up: is always true
This commit is contained in:
parent
0f8f2b88ae
commit
c83a85117d
1 changed files with 1 additions and 1 deletions
|
@ -1759,7 +1759,7 @@ exports.makeAttribsString = (opcode, attribs, pool) => {
|
|||
return '';
|
||||
} else if ((typeof attribs) === 'string') {
|
||||
return attribs;
|
||||
} else if (pool && attribs && attribs.length) {
|
||||
} else if (pool && attribs.length) {
|
||||
if (attribs.length > 1) {
|
||||
attribs = attribs.slice();
|
||||
attribs.sort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue