diff --git a/src/js/slaveInteract.js b/src/js/slaveInteract.js index f4909fd8bb1b65cf05ca65006054a1eae928f425..3469ffea03ce96dbde6cd5131716cf99944debfb 100644 --- a/src/js/slaveInteract.js +++ b/src/js/slaveInteract.js @@ -251,9 +251,9 @@ App.UI.SlaveInteract.drugs = function(slave) { title.append(chosenDrug); el.append(title); - el.appendChild(generateRow(drugOptions)); + el.appendChild(generateRows(drugOptions)); - function generateRow(drugArray) { + function generateRows(drugArray) { let row = document.createElement('span'); for (let i = 0; i < drugArray.length; i++) { let link; @@ -266,7 +266,7 @@ App.UI.SlaveInteract.drugs = function(slave) { continue; } else { drugArray[i].text += " ERROR, THIS SCENE WAS NOT ENTERED CORRECTLY"; - console.log("Trash found while generateRow() was running: " + keys[j] + ": " + drugArray[i][keys[j]]); + console.log("Trash found while generateRows() was running: " + keys[j] + ": " + drugArray[i][keys[j]]); break; } } @@ -664,21 +664,21 @@ App.UI.SlaveInteract.useSlaveDisplay = function(slave) { }); } el.append(`Or use ${him} here: `); - el.appendChild(generateRow(sexOptions)); + el.appendChild(generateRows(sexOptions)); if (!jQuery.isEmptyObject(fillFaceOptions)) { let fill = document.createElement('div'); fill.appendChild(document.createTextNode(` Fill ${his} mouth with: `)); - fill.appendChild(generateRow(fillFaceOptions)); + fill.appendChild(generateRows(fillFaceOptions)); el.appendChild(fill); } if (!jQuery.isEmptyObject(fillAssOptions)) { let fill = document.createElement('div'); fill.appendChild(document.createTextNode(` Fill ${his} ass with: `)); - fill.appendChild(generateRow(fillAssOptions)); + fill.appendChild(generateRows(fillAssOptions)); el.appendChild(fill); } - function generateRow(sexArray) { + function generateRows(sexArray) { let row = document.createElement('span'); for (let i = 0; i < sexArray.length; i++) { let link; @@ -691,7 +691,7 @@ App.UI.SlaveInteract.useSlaveDisplay = function(slave) { continue; } else { sexArray[i].text += " ERROR, THIS SCENE WAS NOT ENTERED CORRECTLY"; - console.log("Trash found while generateRow() was running: " + keys[j] + ": " + sexArray[i][keys[j]]); + console.log("Trash found while generateRows() was running: " + keys[j] + ": " + sexArray[i][keys[j]]); break; } }