Skip to content
Snippets Groups Projects
Commit 7570e4de authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'custom-nationalities-firefox' into 'pregmod-master'

Custom nationalities setup display fix for Firefox

See merge request !510
parents a8a47a4b f68bf0d3
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ Filter by Region:
/* Unfiltered pop controls */
<<if $baseControlsFilter == "all">>
<<for _i = 0; _i < setup.baseNationalities.length; _i++>>
<div style="float: left;">
<<set _nation = setup.baseNationalities[_i]>>
<<print "
_nation
......@@ -97,14 +98,14 @@ Filter by Region:
<</link>>@@
">>
<</if>>
<<if _i < setup.baseNationalities.length-1>>
|<wbr>
<</if>>
<<if _i < setup.baseNationalities.length-1>>|&nbsp;<</if>>
</div>
<</for>>
<<else>>
/* Filtered pop controls */
<<set _controlsNationality = setup[$baseControlsFilter+'Nationalities']>>
<<for _i = 0; _i < _controlsNationality.length; _i++>>
<div style="float: left;">
<<set _nation = _controlsNationality[_i]>>
<<print "
_nation
......@@ -129,9 +130,9 @@ Filter by Region:
<</link>>@@
">>
<</if>>
<<if _i < _controlsNationality.length-1>>
|<wbr>
<</if>>
<<if _i < _controlsNationality.length-1>>|&nbsp;<</if>>
</div>
<</for>>
<</if>>
<div style="clear: both; height: 0;"></div>
</div>
\ No newline at end of file
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