We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85d196 commit dcd3120Copy full SHA for dcd3120
1 file changed
nebula/frontend/static/js/deployment/mobility.js
@@ -207,9 +207,15 @@ const MobilityManager = {
207
208
const additionalParticipantsCount = parseInt(document.getElementById("additionalParticipants").value);
209
for (let i = 0; i < additionalParticipantsCount; i++) {
210
- config.additionalParticipants.push({
211
- round: parseInt(document.getElementById(`roundsAdditionalParticipant${i}`).value)
212
- });
+ if(document.getElementById("connectionDelaySwitch").checked) {
+ config.additionalParticipants.push({
+ round: parseInt(document.getElementById("connectionDelay").value)
213
+ });
214
+ } else {
215
216
+ round: parseInt(document.getElementById(`roundsAdditionalParticipant${i}`).value)
217
218
+ }
219
}
220
221
return config;
0 commit comments