diff --git a/src/gui/storyCaption.js b/src/gui/storyCaption.js index efaa0d3eb9ab8ec200264a68184ed966d9740ff3..b0d1af80eb64b3252f57e925c8f947b4c2b06090 100644 --- a/src/gui/storyCaption.js +++ b/src/gui/storyCaption.js @@ -65,17 +65,16 @@ App.UI.storyCaption = function() { if (V.debugMode > 0) { fragment.append(debug()); } - /* Closes nextButton != "Continue" && nextButton != " " */ + } + + const reminders = App.UI.DOM.appendNewElement("div", fragment, App.UI.DOM.link("Reminders", () => App.Reminders.dialog())); + if (V.reminders.find(r => r.week <= V.week)) { + reminders.append(" ", App.UI.DOM.makeElement("span", "[!]", "noteworthy")); } } else if (pass === "Starting Girls") { fragment.append(startingGirls()); } - const reminders = App.UI.DOM.appendNewElement("div", fragment, App.UI.DOM.link("Reminders", () => App.Reminders.dialog())); - if (V.reminders.find(r => r.week <= V.week)) { - reminders.append(" ", App.UI.DOM.makeElement("span", "[!]", "noteworthy")); - } - const p = document.createElement("p"); p.append(App.UI.DOM.makeElement("span", "FCE", "bold"), ": ", App.Encyclopedia.Dialog.linkDOM(V.encyclopedia, V.encyclopedia));