From b8cd61c62aa9c507cc0e06de20f47046f315b31f Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 4 Feb 2021 02:48:09 -0500 Subject: [PATCH] cleanup --- src/cheats/cheatEditSlave.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/cheats/cheatEditSlave.js b/src/cheats/cheatEditSlave.js index 52e54f42e76..ac86a3754a3 100644 --- a/src/cheats/cheatEditSlave.js +++ b/src/cheats/cheatEditSlave.js @@ -1,11 +1,8 @@ /** @param {App.Entity.SlaveState} slave */ App.UI.SlaveInteract.cheatEditSlave = function(slave) { const el = new DocumentFragment(); - const r = []; - const {His} = getPronouns(slave); const tempSlave = clone(slave); - App.UI.tabBar.handlePreSelectedTab(V.tabChoice.RemoteSurgery); App.UI.DOM.appendNewElement("h1", el, `Cheat edit ${slave.slaveName}`); App.UI.DOM.appendNewElement("div", el, App.UI.DOM.link( @@ -18,7 +15,7 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) { "Cheat Edit JS Apply" )); - el.append(App.Desc.longSlave(slave)); + el.append(App.Desc.longSlave(tempSlave)); // TODO: move me /** -- GitLab