From 50deb4ec0fcb6cd89e3a42895740d53b592daa5c Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 4 Jan 2021 17:59:33 -0500
Subject: [PATCH] fix spacing

---
 src/facilities/surgery/surgeryPasageFaceAndHair.js |  6 ++++--
 src/uncategorized/surgeryDegradation.tw            | 10 +++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/facilities/surgery/surgeryPasageFaceAndHair.js b/src/facilities/surgery/surgeryPasageFaceAndHair.js
index aef323e0640..418c601c4b1 100644
--- a/src/facilities/surgery/surgeryPasageFaceAndHair.js
+++ b/src/facilities/surgery/surgeryPasageFaceAndHair.js
@@ -50,7 +50,7 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) {
 				App.UI.DOM.appendNewElement("div", el,
 					makeLink(
 						`Surgically remove ${his} ability to grow eyebrows`,
-						"eyebrow removal",
+						"eyebrow removal"
 					),
 					"choices");
 			}
@@ -1260,7 +1260,9 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) {
 		return App.UI.DOM.link(
 			title,
 			() => {
-				func();
+				if (typeof func === "function") {
+					func();
+				}
 				if (cheat) {
 					jQuery(container).empty().append(content());
 				} else {
diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw
index e8a66c8f58f..7cc42bb2224 100644
--- a/src/uncategorized/surgeryDegradation.tw
+++ b/src/uncategorized/surgeryDegradation.tw
@@ -378,7 +378,15 @@ As the remote surgery's long recovery cycle completes,
 		<<if canSee(getSlave($AS))>>$He looks in the mirror and turns $his head side to side admiring $his new ears, <<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified, <</if>><<if hasAnyArms(getSlave($AS))>>they're still a bit sore, but $he reaches up to feel them gently,<</if>> $he turns to you with a smile, tilting $his head at various angles to show them off. $He seems to think $his new ears are @@.hotpink;cute.@@ The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@
 		<<set getSlave($AS).devotion += 4>>
 	<<elseif (getSlave($AS).devotion >= -20)>>
-		<<if canSee(getSlave($AS))>>$He eyes $his new ears skeptically.<<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified.<</if>><<if hasAnyArms(getSlave($AS))>>$He's still a bit sore, but $he reaches up to feel them gently.<</if>>$He's come to terms with the fact that $he's a slave, so $he isn't much affected mentally despite the surprise of having $his ears reshaped. The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is @@.gold;sensibly fearful@@ of your total power over $his body.
+		<<if canSee(getSlave($AS))>>
+			$He eyes $his new ears skeptically.
+		<<else>>
+			$He can't see but it's clear from the dull ache in $his ears that they have been modified.
+		<</if>>
+		<<if hasAnyArms(getSlave($AS))>>
+			$He's still a bit sore, but $he reaches up to feel them gently.
+		<</if>>
+		$He's come to terms with the fact that $he's a slave, so $he isn't much affected mentally despite the surprise of having $his ears reshaped. The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is @@.gold;sensibly fearful@@ of your total power over $his body.
 		<<set getSlave($AS).trust -= 5>>
 	<<else>>
 		<<if canSee(getSlave($AS))>>$He eyes $his new ears with disdain.<<else>>$He can't see but it's clear from the dull ache in $his ears that they have been modified.<</if>><<if hasAnyArms(getSlave($AS))>>$He's still a bit sore, but $he reaches up to feel them gently, as if to confirm it's not some trick.<</if>> For now, @@.mediumorchid;$he seems to view $his altered ears as a cruel imposition.@@ The modification surgery is brief, with @@.health.dec;nothing more than minor health effects.@@ $He is now @@.gold;terribly afraid@@ of your total power over $his body.
-- 
GitLab