Skip to content

Commit

Permalink
removed extra bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
christinna9031 committed Jul 24, 2021
1 parent f639470 commit 968e10f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function LBPopUp(msg) {
*/
function LBSetValue(name, value, real = false) {
if (!real) value = `"${value}"`;
lioranboardclient.send(`{"type":"MESSAGE","topic":"SetValue","valuename":"${name}","value":${value}},"real":${real}}`);
lioranboardclient.send(`{"type":"MESSAGE","topic":"SetValue","valuename":"${name}","value":${value},"real":${real}}`);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion _site/tsl_transmitter.html
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ <h5>Message Logging</h5>
*/
function LBSetValue(name, value, real = false) {
if (!real) value = `"${value}"`;
lioranboardclient.send(`{"type":"MESSAGE","topic":"SetValue","valuename":"${name}","value":${value}},"real":${real}}`);
lioranboardclient.send(`{"type":"MESSAGE","topic":"SetValue","valuename":"${name}","value":${value},"real":${real}}`);
}

/**
Expand Down

0 comments on commit 968e10f

Please sign in to comment.