Skip to content

Commit

Permalink
TCP out - tidy up select of which rows to display
Browse files Browse the repository at this point in the history
to help address #2525
  • Loading branch information
Dave Conway-Jones committed Apr 3, 2020
1 parent 9d44003 commit 1d417c0
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,14 @@
$("#node-input-port-row").hide();
$("#node-input-host-row").hide();
$("#node-input-end-row").hide();
} else {
} else if (sockettype == "client"){
$("#node-input-port-row").show();
$("#node-input-end-row").show();
}

if (sockettype == "client") {
$("#node-input-host-row").show();
$("#node-input-end-row").show();
} else {
$("#node-input-port-row").show();
$("#node-input-host-row").hide();
$("#node-input-end-row").show();
}
};
updateOptions();
Expand Down

0 comments on commit 1d417c0

Please sign in to comment.