mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
do not show empty parentheses ‚()‘
This commit is contained in:
parent
341c05bc3d
commit
982136508b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ function wsConnect(node)
|
|||
console.log('WebSocket connection closed', error);
|
||||
|
||||
$('#status')
|
||||
.text('Disconnected (' + error.reason + ')')
|
||||
.text('Disconnected' + (error.reason != '' ? ' (' + error.reason + ')' : ''))
|
||||
.css('color', 'red');
|
||||
|
||||
/* Try connect if close reason was CLOSE_NORMAL */
|
||||
|
|
Loading…
Add table
Reference in a new issue