Skip to content

Commit

Permalink
fix: Array.concat does not modify the existing arrays, return value w…
Browse files Browse the repository at this point in the history
…as previously discarded
  • Loading branch information
lucasnetau committed Aug 24, 2023
1 parent 241a83a commit 92496e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/control/textarea.tinymce.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class controlTinymce extends controlTextarea {
if (!Array.isArray(js)) {
js = new Array(js)
}
this.js.concat(js)
this.js = this.js.concat(js)
delete this.classConfig.js
}

Expand Down

0 comments on commit 92496e3

Please sign in to comment.