Fix flag building.
This commit is contained in:
parent
2a99db7cdd
commit
8854f9a06f
@ -104,12 +104,12 @@ Build =
|
|||||||
capcodeStart = ''
|
capcodeStart = ''
|
||||||
capcode = ''
|
capcode = ''
|
||||||
|
|
||||||
flag =
|
flag = unless flagCode
|
||||||
if flagCode
|
''
|
||||||
" <img src='#{staticPath}country/#{if boardID is 'pol' then 'troll/' else ''}" +
|
else if boardID is 'pol'
|
||||||
flagCode.toLowerCase() + ".gif' alt=#{flagCode} title='#{flagName}' class=countryFlag>"
|
" <img src='#{staticPath}country/troll/#{flagCode.toLowerCase()}.gif' alt=#{flagCode} title='#{flagName}' class=countryFlag>"
|
||||||
else
|
else
|
||||||
''
|
" <span title='#{flagName}' class='flag flag-#{flagCode.toLowerCase()}'></span>"
|
||||||
|
|
||||||
if file?.isDeleted
|
if file?.isDeleted
|
||||||
fileHTML = if isOP
|
fileHTML = if isOP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user