diff --git a/src/interaction/siUtilities.js b/src/interaction/siUtilities.js index a9c6731dddc80ccc774abca5e40906bd41bcb347..e938194602d621f879c14986646fe7594bcac869 100644 --- a/src/interaction/siUtilities.js +++ b/src/interaction/siUtilities.js @@ -64,10 +64,10 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck link = document.createElement('span'); const toolTips = []; if (item.hasOwnProperty("slutty")) { - toolTips.push(item.slutty ? 'Slutty' : 'Modest'); + toolTips.push(item.slutty ? 'slutty' : 'modest'); } if (item.hasOwnProperty("humiliating") && item.humiliating) { - toolTips.push('Humiliating'); + toolTips.push('humiliating'); } @@ -78,7 +78,7 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck () => { click(item); }, [], "", - (toolTips.length > 1) ? arrayToSentence(toolTips) : toolTips.join(" ") + capFirstChar((toolTips.length > 1) ? arrayToSentence(toolTips) : toolTips.join(" ")) // Form a tooltip from an array of any length. arrayToSentence() does not work well with arrays of length less than 2. ) );