From 57d6d2c48d66fc35ad97e02b0e8037808e1d3c51 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 4 Feb 2021 09:56:42 -0500
Subject: [PATCH] compress

---
 src/npc/startingGirls/editFamily.js | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/src/npc/startingGirls/editFamily.js b/src/npc/startingGirls/editFamily.js
index ece9a1d41a7..9c31f3697d9 100644
--- a/src/npc/startingGirls/editFamily.js
+++ b/src/npc/startingGirls/editFamily.js
@@ -40,9 +40,7 @@ App.Intro.editFamily = function(slave) {
 		const div = document.createElement("div");
 		const linkArray = [];
 
-		div.append(`${slave.slaveName}'s mother is `);
-		div.append(parentName("mother"));
-		div.append(`. `);
+		div.append(`${slave.slaveName}'s mother is `, parentName("mother"), `. `);
 
 		linkArray.push(
 			App.UI.DOM.link(
@@ -89,9 +87,7 @@ App.Intro.editFamily = function(slave) {
 		const div = document.createElement("div");
 		const linkArray = [];
 
-		div.append(`${slave.slaveName}'s father is `);
-		div.append(parentName("father"));
-		div.append(`. `);
+		div.append(`${slave.slaveName}'s father is `, parentName("father"), `. `);
 
 		linkArray.push(
 			App.UI.DOM.link(
@@ -141,9 +137,7 @@ App.Intro.editFamily = function(slave) {
 		if (slave.mother === -1) {
 			div.append(`You are ${his} mother, and also the mother of: `);
 		} else {
-			div.append(`${His} mom, `);
-			div.append(parentName("mother"));
-			div.append(`, is also the mother of: `);
+			div.append(`${His} mom, `, parentName("mother"), `, is also the mother of: `);
 		}
 
 		div.append(App.StartingGirls.listOfSlavesWithParent('mother', slave.mother), " ");
@@ -207,9 +201,7 @@ App.Intro.editFamily = function(slave) {
 		if (slave.father === -1) {
 			div.append(`You are ${his} father, and also the father of: `);
 		} else {
-			div.append(`${His} dad, `);
-			div.append(parentName("father"));
-			div.append(`, is also the father of: `);
+			div.append(`${His} dad, `, parentName("father"), `, is also the father of: `);
 		}
 
 		div.append(App.StartingGirls.listOfSlavesWithParent('father', slave.father), " ");
-- 
GitLab