diff --git a/src/interaction/siDescription.js b/src/interaction/siDescription.js index 50e62da56199304467ca45e263a5966d28c7cd75..7122453cbf018beb712563bb5896c8a3b910642c 100644 --- a/src/interaction/siDescription.js +++ b/src/interaction/siDescription.js @@ -55,7 +55,4 @@ App.UI.SlaveInteract.description = function(slave) { ); } } - function refresh() { - jQuery("#si-description").empty().append(description()); - } }; diff --git a/src/interaction/siFinancial.js b/src/interaction/siFinancial.js index 8a278a7ea6fdc2cd83381d3b5ddb9e9d757c714c..66410744c330f944daf76057e73630898fc08c76 100644 --- a/src/interaction/siFinancial.js +++ b/src/interaction/siFinancial.js @@ -229,7 +229,7 @@ App.UI.SlaveInteract.financial = function(slave) { linkArray.push( App.UI.DOM.passageLink( `Export this slave`, - "Export this slave", + "Export Slave", ) ); if (V.cheatMode) { diff --git a/src/interaction/siModify.js b/src/interaction/siModify.js index 11f52477e4c8a234ff52ad57aa030ba2f5984a52..21effcd53d69fc9ff12bf7c551332e9173387727 100644 --- a/src/interaction/siModify.js +++ b/src/interaction/siModify.js @@ -56,4 +56,4 @@ App.UI.SlaveInteract.modify = function(slave) { } return el; -}; \ No newline at end of file +}; diff --git a/src/interaction/siRules.js b/src/interaction/siRules.js index 98283ee1f1ce638d2fb93797da1054a4c7f2700b..49300c6a81fdc6e5135cba0ebd1ee02c260dcbda 100644 --- a/src/interaction/siRules.js +++ b/src/interaction/siRules.js @@ -375,10 +375,10 @@ App.UI.SlaveInteract.rules = function(slave) { selected.style.fontWeight = "bold"; } - App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Level", level, slave); - App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Body part", bodyPart, slave); - App.UI.SlaveInteract.appendLabeledChoiceRow(el, "BDSM", BDSM, slave); - App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Gender", gender, slave); + App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Level", level, slave, refresh); + App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Body part", bodyPart, slave, refresh); + App.UI.SlaveInteract.appendLabeledChoiceRow(el, "BDSM", BDSM, slave, refresh); + App.UI.SlaveInteract.appendLabeledChoiceRow(el, "Gender", gender, slave, refresh); return el; } diff --git a/src/interaction/siUtilities.js b/src/interaction/siUtilities.js index 9741d2004527f694de64a6a1f88183e0169105d4..017d7ff0e79708e6334bacca3782bc7913f240cd 100644 --- a/src/interaction/siUtilities.js +++ b/src/interaction/siUtilities.js @@ -39,7 +39,7 @@ App.UI.SlaveInteract.placeInLine = function(slave) { * @param {string} label * @param {RowItem[]} array * @param {App.Entity.SlaveState} slave - * @param {Function} [refresh] + * @param {Function} refresh */ App.UI.SlaveInteract.appendLabeledChoiceRow = function(parent, label, array, slave, refresh) { if (array.length > 0) {