diff --git a/src/endWeek/reports/childrenReport.js b/src/endWeek/reports/childrenReport.js index 0177a68e6eaf4738c8ce14109ee3db868f5f57c5..bd71be20d14f986c97948fa688ae644d56c6aa98 100644 --- a/src/endWeek/reports/childrenReport.js +++ b/src/endWeek/reports/childrenReport.js @@ -70,7 +70,7 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { function matronEducationEffects(child) { // TODO: expand this - const { he, him, his } = getPronouns(Matron); + const {he, him, his} = getPronouns(Matron); const theChildren = CL > 1 ? `the children` : `${child.slaveName}`; @@ -108,7 +108,7 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { // MARK: Nanny Effects function nannyFetishEffects(child, slave) { - const { he } = getPronouns(child); + const {he} = getPronouns(child); const chance = jsRandom(1, 100); if (chance > 85) { @@ -227,7 +227,7 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { if (V.nurseryMuscles) { const firstNanny = NL > 0 ? nannies[0] : null; const caretaker = Matron ? Matron.slaveName : NL > 1 ? `A nanny` : firstNanny.slaveName; - const { His, He, he } = getPronouns(child); + const {His, He, he} = getPronouns(child); const muscleSpan = App.UI.DOM.makeElement("div", 'rapid muscle development.', "improvement"); @@ -278,6 +278,7 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { // MARK: Miscellaneous Functions function childFriendshipRivalries(child) { + const el = new DocumentFragment(); const cribsCopy = Array.from(V.cribs); cribsCopy.splice(V.cribs.findIndex(c => c.ID === child.ID)); @@ -291,7 +292,7 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { const div = document.createElement("div"); - const { his } = getPronouns(target); + const {his} = getPronouns(target); const chance = jsRandom(1, 100); let friend = 0; @@ -391,8 +392,9 @@ App.Facilities.Nursery.childrenReport = function childrenReport() { } } - return div; + el.append(div); } + return el; function sameFetish(child, target) { switch (child.fetish) {