diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 36b3c2aba6a20833b179ff8381a7a38851ec9d01..66fa0a647bbf8ffede6f66af885b3b0422696e58 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -92,7 +92,7 @@ App.UI.newSlaveIntro = function(slave) { r = []; p = document.createElement("p"); - p.append(`The legalities completed,`); + p.append(`The legalities completed, `); span = document.createElement("span"); span.classList.add('slave-name'); span.textContent = SlaveFullName(slave); @@ -1836,7 +1836,7 @@ App.UI.newSlaveIntro = function(slave) { lineBreak(); - App.UI.DOM.appendNewElement("div", el, `Have ${him} changed...`, "note"); + App.UI.DOM.appendNewElement("div", p, `Have ${him} changed...`, "note"); if (slave.health.condition < -20) { choice({ @@ -2462,7 +2462,7 @@ App.UI.newSlaveIntro = function(slave) { } lineBreak(); - App.UI.DOM.appendNewElement("div", el, `...or show ${him} what it's like here for a slave`, "note"); + App.UI.DOM.appendNewElement("div", p, `...or show ${him} what it's like here for a slave`, "note"); if (slave.fetish !== "mindbroken") { /* @@ -3848,7 +3848,7 @@ App.UI.newSlaveIntro = function(slave) { } lineBreak(); if ((V.dairy > 0) && (V.dairyRestraintsSetting > 1) && (V.seeExtreme === 1)) { - App.UI.DOM.appendNewElement("div", el, `...in the Industrial Dairy`, "note"); + App.UI.DOM.appendNewElement("div", p, `...in the Industrial Dairy`, "note"); choice({ linkName: `Threaten ${him} with the Industrial Dairy`, result(slave) { @@ -4114,7 +4114,7 @@ App.UI.newSlaveIntro = function(slave) { } lineBreak(); if (V.arcade > 0 && V.seeExtreme === 1) { - App.UI.DOM.appendNewElement("div", el, "...in the Arcade", "note"); + App.UI.DOM.appendNewElement("div", p, "...in the Arcade", "note"); choice({ linkName: `Threaten ${him} with the Arcade`, result(slave) { @@ -4206,7 +4206,7 @@ App.UI.newSlaveIntro = function(slave) { function lineBreak() { if (linkArray.length > 0) { - App.UI.DOM.appendNewElement("div", el, App.UI.DOM.generateLinksStrip(linkArray)); + App.UI.DOM.appendNewElement("div", p, App.UI.DOM.generateLinksStrip(linkArray)); } linkArray = []; }