Skip to content
Snippets Groups Projects
Commit f168c2c0 authored by svornost's avatar svornost
Browse files

customizeSlaveTrade.tw wants to use a span element it writes, but is being...

customizeSlaveTrade.tw wants to use a span element it writes, but is being executed in a <<silently>> block during NGP initialization, and <<silently>> no longer writes the span element to the DOM.  Replace <<silently>> with a hidden <div> so it executes just like it used to.
parent be3809e8
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ Economic forecast:
<<else>>
Current nationality distributions are [[Adjust the slave trade|Customize Slave Trade][$customWA = 0, $customVariety = 1]] | [[Stop customizing|Intro Summary][delete $customVariety]]
<<if ndef $nationalitiescheck>> /* NGP: regenerate $nationalitiescheck from previous game's $nationalities array */
<<silently>><<include "Customize Slave Trade">><</silently>>
<div id="SilentlyButWithStyle" style="display: none;"><<include "Customize Slave Trade">></div>
<</if>>
<br style="clear:both"><hr style="margin:0">
<<set _len = Object.keys($nationalitiescheck).length>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment