diff --git a/src/interaction/siCustom.js b/src/interaction/siCustom.js index f28b71fe58d8d13c48802c26af89fe93d62561fc..e8e6312e3a83eea55ed43746a268a21391b7b23c 100644 --- a/src/interaction/siCustom.js +++ b/src/interaction/siCustom.js @@ -86,10 +86,8 @@ App.UI.SlaveInteract.custom = function(slave, refresh) { "", v => { slave.custom.title = v; - jQuery('#result').empty().append( - document.createTextNode(`${He}'ll try ${his} best to call you ${slave.custom.title}.`) - ); slave.custom.titleLisp = lispReplace(slave.custom.title); + refresh(); } ) ); @@ -100,10 +98,8 @@ App.UI.SlaveInteract.custom = function(slave, refresh) { slave.custom.title, v => { slave.custom.title = v; - jQuery('#result').empty().append( - document.createTextNode(`${He}'ll try ${his} best to call you ${slave.custom.title}.`) - ); slave.custom.titleLisp = lispReplace(slave.custom.title); + refresh(); } ) ); @@ -111,11 +107,9 @@ App.UI.SlaveInteract.custom = function(slave, refresh) { App.UI.DOM.link( ` Stop using a custom title`, () => { - jQuery('#result').empty().append( - document.createTextNode(`${He} will no longer refer to you with a special title.`) - ); slave.custom.title = ""; slave.custom.titleLisp = ""; + refresh(); } ) );