diff --git a/src/futureSocieties/fsPassage.js b/src/futureSocieties/fsPassage.js index a80ecb9a5ce46be04ba04cc1bdb042aa230a7ae6..e0e9be9cb304dcd115d2aa1cf79792b36810c76b 100644 --- a/src/futureSocieties/fsPassage.js +++ b/src/futureSocieties/fsPassage.js @@ -1090,7 +1090,7 @@ App.UI.fsPassage = function() { } if (FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(25)); + r.push("/", advanceRel(25)); } } } else { @@ -1107,7 +1107,7 @@ App.UI.fsPassage = function() { } if (FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(17)); + r.push("/", advanceRel(17)); } } } else { @@ -1124,7 +1124,7 @@ App.UI.fsPassage = function() { } if (FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(15)); + r.push("/", advanceRel(15)); } } } else { @@ -1141,7 +1141,7 @@ App.UI.fsPassage = function() { } if (FSCredits > 0) { if (arc.FSNull < V.FSLockinLevel) { - r.push(advanceRel(20)); + r.push("/", advanceRel(20)); } } } else { @@ -1177,36 +1177,25 @@ App.UI.fsPassage = function() { } function advanceRel(num) { - return App.UI.DOM.link( - "Advance", - () => { - if (arc.FSNull !== "unset") { - arc.FSNull += num; - } - App.UI.reload(); - }, - [], - "", - "a further commitment to allow your arcology's citizens cultural freedom" - ); + const f = new DocumentFragment(); + f.append(App.UI.DOM.link("Advance", () => { + if (arc.FSNull !== "unset") { + arc.FSNull += num; + } + App.UI.reload(); + })); + App.UI.DOM.appendNewElement("span", f, " Further your commitment to allow your arcology's citizens cultural freedom.", ["note"]); + return f; } function MulticulturalismRel(num) { - const multicultural = App.UI.DOM.makeElement( - "span", - App.UI.DOM.link( - "Multiculturalism", - () => { - arc.FSNull = num; - App.UI.reload(); - }, - [], - "", - "a commitment to allow your arcology's citizens cultural freedom." - ) - ); - multicultural.append(` is an alternative to societal advancement, and will not advance naturally.`); - return multicultural; + const f = new DocumentFragment(); + f.append(App.UI.DOM.link("Multiculturalism", () => { + arc.FSNull = num; + App.UI.reload(); + })); + f.append(` is a commitment to allow your arcology's citizens cultural freedom. It is an alternative to societal advancement, and will not advance naturally.`); + return f; } /* Revival section */