From c9c1f9b8d6a90a0a8ffe7bd84340318d62a74c28 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 9 Aug 2021 14:14:44 -0400 Subject: [PATCH] display fix --- src/js/slaveCostJS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index b04d21807b9..bb012d8699d 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -2288,7 +2288,7 @@ globalThis.slaveCost = function(slave, isStartingSlave = false, followLaws = fal function costTooltip() { // Make a link. Clicking the link will display detailed info about that over the top of the page (tooltip-style) - const span = App.UI.DOM.makeElement("span", cashFormat(cost)); + const span = App.UI.DOM.makeElement("span", cashFormat(cost).toString()); if (V.cheatMode || V.debugMode) { span.tabIndex = 0; span.classList.add("has-tooltip"); -- GitLab