diff --git a/src/js/slaveInteract.js b/src/js/slaveInteract.js index 75eb5cae4a3f9343be279b4045950d5056d197f9..f4909fd8bb1b65cf05ca65006054a1eae928f425 100644 --- a/src/js/slaveInteract.js +++ b/src/js/slaveInteract.js @@ -244,8 +244,11 @@ App.UI.SlaveInteract.drugs = function(slave) { } let title = document.createElement('div'); - title.textContent = `Drugs: ${capFirstChar(slave.drugs)}`; - title.style.fontWeight = "bold"; + title.textContent = `Drugs: `; + let chosenDrug = document.createElement('span'); + chosenDrug.textContent = `${capFirstChar(slave.drugs)}`; + chosenDrug.style.fontWeight = "bold"; + title.append(chosenDrug); el.append(title); el.appendChild(generateRow(drugOptions)); @@ -1047,4 +1050,5 @@ App.UI.SlaveInteract.refreshAll = function(slave) { App.UI.SlaveInteract.bloating(slave); App.UI.SlaveInteract.fertility(slave); App.UI.SlaveInteract.useSlaveDisplay(slave); + App.UI.SlaveInteract.drugs(slave); };