Skip to content

Commit

Permalink
Fixed HTML bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Kaspar Rudert (mortzu) committed Jun 26, 2020
1 parent 32baf92 commit aea4168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ $(function() {
if (vpnserver_status[key][this]['up']) {
$('<td class="good"' + (vpnserver_status[key][this]['time'] != undefined ? ' title="run time: ' + vpnserver_status[key][this]['time'] + 's"' : '') + '></td>').appendTo($('#' + vpnserver_name + gatemon['uuid']));
} else {
$('<td class="bad"' + (vpnserver_status[key][this]['time'] != undefined ? ' title="run time: ' + vpnserver_status[key][this]['time'] + 's"' : '') + (vpnserver_status[key][this]["error-message"] != undefined ? "\nerror-message: " + vpnserver_status[key][this]["error-message"] : "") + '></td>').appendTo($('#' + vpnserver_name + gatemon['uuid']));
$('<td class="bad" title="' + (vpnserver_status[key][this]['time'] != undefined ? 'run time: ' + vpnserver_status[key][this]['time'] + 's' : '') + (vpnserver_status[key][this]['error-message'] != undefined ? "\nerror-message: " + vpnserver_status[key][this]['error-message'] : '') + '"></td>').appendTo($('#' + vpnserver_name + gatemon['uuid']));
}
});
}
Expand Down

0 comments on commit aea4168

Please sign in to comment.