Skip to content

Commit 24621d9

Browse files
committed
edit nesting
1 parent 6a8152e commit 24621d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function saveParticipantsAndStartSimulation() {
154154
masterContainers.forEach((masterContainer, index) => {
155155
let nameInput = masterContainer.querySelector(".master-name");
156156
console.log(masterContainer.innerHTML); // Log the contents of the master container
157-
let servantDropdown = masterContainer.querySelector(".servant-select");
157+
let servantDropdown = masterContainer.querySelector(".servant-selection .servant-select");
158158
let pictureEl = masterContainer.querySelector(".master-img");
159159

160160
let name = nameInput ? nameInput.value || `Master ${index + 1}` : `Master ${index + 1}`;

0 commit comments

Comments
 (0)