From dab025a92aa63b58f62f4860db6bb32a33ba0253 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 29 Aug 2020 01:25:12 -0400 Subject: [PATCH] fix --- src/npc/generate/newSlaveIntro.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 36b3c2aba6a..66fa0a647bb 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 = []; } -- GitLab