Browse Source

Fix for flags with invalid country class

Fix for #3260. When a flag has a missing or invalid country class name,
render blank instead of showing the flag of Andorra.
pull/3333/head
Matt Jenkins 9 years ago
parent
commit
6c704deebc
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/elements/flag.less

2
src/definitions/elements/flag.less

@ -45,7 +45,7 @@ i.flag:not(.icon) {
i.flag:not(.icon):before {
display: inline-block;
content: '';
background: url(@spritePath) no-repeat 0px 0px;
background: url(@spritePath) no-repeat -108px -1976px;
width: @width;
height: @height;
}

Loading…
Cancel
Save