From fc8b83366b616a36956fa44b78699a340cf56bed Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 27 Aug 2020 01:11:57 -0400
Subject: [PATCH] use DOM in old widgets

---
 src/gui/storyCaption.tw    | 2 +-
 src/utility/miscWidgets.tw | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui/storyCaption.tw b/src/gui/storyCaption.tw
index fd44c46a26a..3b76ccb2d5f 100644
--- a/src/gui/storyCaption.tw
+++ b/src/gui/storyCaption.tw
@@ -2,7 +2,7 @@
 
 <<set _Pass = passage()>>
 
-<<if $ui != "start">><p><<userButton>></p><</if>>
+<<if $ui != "start">><p><<includeDOM userButton()>></p><</if>>
 
 <<if $ui != "start">>
 	<<if $cheatMode || $debugMode>>
diff --git a/src/utility/miscWidgets.tw b/src/utility/miscWidgets.tw
index 575104a7beb..9d0a63faeb6 100644
--- a/src/utility/miscWidgets.tw
+++ b/src/utility/miscWidgets.tw
@@ -7,7 +7,7 @@ Call as <<UpdateNextButton>>
 Allows for dynamic updating of the next button in the storyCaption (left side-bar) for events that disable the button until user makes a selection
 %/
 <<widget "UpdateNextButton">>
-	<<replace "#nextButton">> <<userButton>> <</replace>>
+	<<run updateUserButton()>>
 <</widget>>
 
 <<widget "Master">><<if def $args[0]>><<run Enunciate($args[0])>><<elseif ndef $enunciate>><<run Enunciate($activeSlave)>><</if>>$enunciate.title<</widget>>
-- 
GitLab