From cce04e42dfd9b256458c26912f243a18036959ae Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Tue, 22 Dec 2020 02:19:19 -0800
Subject: [PATCH] Update src/events/RESS/comfortableSeat.js

---
 src/events/RESS/comfortableSeat.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/events/RESS/comfortableSeat.js b/src/events/RESS/comfortableSeat.js
index 0a235be434a..79d6a2ca9a2 100644
--- a/src/events/RESS/comfortableSeat.js
+++ b/src/events/RESS/comfortableSeat.js
@@ -113,6 +113,7 @@ App.Events.RESSComfortableSeat = class RESSComfortableSeat extends App.Events.Ba
 		]);
 
 		function permit() {
+			const frag = document.createDocumentFragment();
 			t = [];
 
 			t.push(`You tell ${him} to sit down if ${he}'d like to. ${He} looks at you quizzically, ${eventSlave.intelligence + eventSlave.intelligenceImplant < -15 ? `${his} dim mind slowly` : ""} realizing that you're letting ${him} choose what to do. ${canTalk(eventSlave) ? `"Oh, thank you, ${Master}," ${he} ${say}s,` : `${He} gestures ${his} thanks,`} and then makes a show of deciding. ${He} ${eventSlave.intelligence + eventSlave.intelligenceImplant < -15 ? "doesn't have to pretend" : "cheekily pretends"} to be an airheaded bimbo puzzling over how ${he} wants to approach a fuck, bouncing`);
@@ -141,7 +142,7 @@ App.Events.RESSComfortableSeat = class RESSComfortableSeat extends App.Events.Ba
 				t.push(`wiggling ${his} rear side to side alluringly`);
 			}
 			t.push(`and putting a finger to ${his} slightly parted lips as ${he} stares down at your ${PC.dick !== 0 ? "stiff prick" : "strap-on"}.`);
-			App.Events.addParagraph(node, t);
+			App.Events.addParagraph(frag, t);
 			t = [];
 
 			if (eventSlave.fetishKnown === 1 && eventSlave.fetish !== "none") {
@@ -278,12 +279,12 @@ App.Events.RESSComfortableSeat = class RESSComfortableSeat extends App.Events.Ba
 				}
 				t.push(`When ${he}'s gotten you off, ${he} <span class="mediumaquamarine">thanks you trustingly.</span> Even though ${he} wasn't able to figure out how to seat ${himself} in a really satisfactorily sexy way, ${he}'s glad you gave ${him} some agency.`);
 			}
-			App.Events.addParagraph(node, t);
+			App.Events.addParagraph(frag, t);
 
 			eventSlave.trust += 5;
 
 			t = []; /* need to clear the array before returning in this case because otherwise weird things happen */
-			return t;
+			return [frag];
 		}
 
 		function service() {
-- 
GitLab