mirror of
https://github.com/wekan/wekan.git
synced 2026-01-27 11:46:10 +01:00
Use an arrow function inside forEach() instead of an anonymous function
Suggested by deepcode.ai.
This commit is contained in:
parent
06515559a6
commit
b2fee6a6c1
5 changed files with 9 additions and 9 deletions
|
|
@ -653,7 +653,7 @@ BlazeComponent.extendComponent({
|
|||
'subtext-with-parent',
|
||||
'no-parent',
|
||||
];
|
||||
options.forEach(function(element) {
|
||||
options.forEach(element => {
|
||||
if (element !== value) {
|
||||
$(`#${element} ${MCB}`).toggleClass(CKCLS, false);
|
||||
$(`#${element}`).toggleClass(CKCLS, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue