mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-23 14:29:06 +01:00
Add missing parentheses for arrow func arg
Our lint tests expect this when an arrow functino has a body with curly braces.
This commit is contained in:
parent
54253efaa0
commit
03a333fb18
@ -86,7 +86,7 @@ const UI = {
|
||||
.then((packageInfo) => {
|
||||
Array.from(document.getElementsByClassName('noVNC_version')).forEach(el => el.innerText = packageInfo.version);
|
||||
})
|
||||
.catch(err => {
|
||||
.catch((err) => {
|
||||
Log.Error("Couldn't fetch package.json: " + err);
|
||||
Array.from(document.getElementsByClassName('noVNC_version_wrapper'))
|
||||
.concat(Array.from(document.getElementsByClassName('noVNC_version_separator')))
|
||||
|
Loading…
Reference in New Issue
Block a user