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
Loading
...@@ -73,6 +73,7 @@ Filter by Region: ...@@ -73,6 +73,7 @@ Filter by Region:
/* Unfiltered pop controls */ /* Unfiltered pop controls */
<<if $baseControlsFilter == "all">> <<if $baseControlsFilter == "all">>
<<for _i = 0; _i < setup.baseNationalities.length; _i++>> <<for _i = 0; _i < setup.baseNationalities.length; _i++>>
<div style="float: left;">
<<set _nation = setup.baseNationalities[_i]>> <<set _nation = setup.baseNationalities[_i]>>
<<print " <<print "
_nation _nation
...@@ -97,14 +98,14 @@ Filter by Region: ...@@ -97,14 +98,14 @@ Filter by Region:
<</link>>@@ <</link>>@@
">> ">>
<</if>> <</if>>
<<if _i < setup.baseNationalities.length-1>> <<if _i < setup.baseNationalities.length-1>>|&nbsp;<</if>>
|<wbr> </div>
<</if>>
<</for>> <</for>>
<<else>> <<else>>
/* Filtered pop controls */ /* Filtered pop controls */
<<set _controlsNationality = setup[$baseControlsFilter+'Nationalities']>> <<set _controlsNationality = setup[$baseControlsFilter+'Nationalities']>>
<<for _i = 0; _i < _controlsNationality.length; _i++>> <<for _i = 0; _i < _controlsNationality.length; _i++>>
<div style="float: left;">
<<set _nation = _controlsNationality[_i]>> <<set _nation = _controlsNationality[_i]>>
<<print " <<print "
_nation _nation
...@@ -129,9 +130,9 @@ Filter by Region: ...@@ -129,9 +130,9 @@ Filter by Region:
<</link>>@@ <</link>>@@
">> ">>
<</if>> <</if>>
<<if _i < _controlsNationality.length-1>> <<if _i < _controlsNationality.length-1>>|&nbsp;<</if>>
|<wbr> </div>
<</if>>
<</for>> <</for>>
<</if>> <</if>>
<div style="clear: both; height: 0;"></div>
</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