diff --git a/src/npc/generate/newSlaveIntro.js b/src/npc/generate/newSlaveIntro.js index 96f4daa0f28b1fb1c1fb80964751118423ae1967..b51a0388d5f7747e8a0eb46caf7336244e353b5a 100644 --- a/src/npc/generate/newSlaveIntro.js +++ b/src/npc/generate/newSlaveIntro.js @@ -817,7 +817,6 @@ App.UI.newSlaveIntro = function(slave) { * @param {string} [param0.note] */ function choice({introText, linkName, result, requirements, note} = {}) { - let span = document.createElement("span"); if (introText) { App.UI.DOM.appendNewElement("span", p, introText, "note"); } @@ -825,7 +824,7 @@ App.UI.newSlaveIntro = function(slave) { if (requirements === false) { return; } - + let span = document.createElement("span"); span.append( App.UI.DOM.link( linkName,