From 17b456d94c3ecbfe4928633d20dcf76bbaf3e5f5 Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Fri, 18 Sep 2020 17:42:02 +0200 Subject: [PATCH] fix incorrect css class for too expensive starting girl --- src/gui/storyCaption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/storyCaption.js b/src/gui/storyCaption.js index eb8affd6ec4..256e24250cc 100644 --- a/src/gui/storyCaption.js +++ b/src/gui/storyCaption.js @@ -465,7 +465,7 @@ App.UI.storyCaption = function() { if (_slaveCost > V.cash) { const div = document.createElement("div"); - div.classList.add("cash dec"); + div.classList.add("cash", "dec"); div.append("This slave will cost ", App.UI.DOM.makeElement("span", cashFormat(_slaveCost), "bold"), ".", App.UI.DOM.makeElement("div", `You only have: ${cashFormat(V.cash)}.`)); -- GitLab