From a802c9de8755e3c50e4ae15e4b295cbc422eb010 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sun, 20 Dec 2020 03:22:51 -0500 Subject: [PATCH] remove old --- src/interaction/siUtilities.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/interaction/siUtilities.js b/src/interaction/siUtilities.js index e938194602d..c95185faa66 100644 --- a/src/interaction/siUtilities.js +++ b/src/interaction/siUtilities.js @@ -32,8 +32,6 @@ App.UI.SlaveInteract.placeInLine = function(slave) { * @property {object} [update] - properties to be merged into global state * @property {string} [disabled] - text indicating why the option is unavailable * @property {string} [note] - * @property {string} [slutty] - * @property {string} [humiliating] */ /** Generate a row of choices @@ -62,23 +60,12 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck link = App.UI.DOM.disabledLink(item.text, [unlocked]); } else { link = document.createElement('span'); - const toolTips = []; - if (item.hasOwnProperty("slutty")) { - toolTips.push(item.slutty ? 'slutty' : 'modest'); - } - if (item.hasOwnProperty("humiliating") && item.humiliating) { - toolTips.push('humiliating'); - } - // Set up the link link.appendChild( App.UI.DOM.link( `${item.text} `, () => { click(item); }, - [], - "", - 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. ) ); -- GitLab