Skip to content

Commit

Permalink
fix for MID-5484
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Jul 23, 2019
1 parent 28c9877 commit 5a75ff2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -80,7 +80,7 @@ public IModel<LocaleDescriptor> getModel(LocaleDescriptor value) {

@Override
protected SelectOption<LocaleDescriptor> newOption(String text, IModel<LocaleDescriptor> model) {
SelectOption option = super.newOption("&nbsp;" + text, model);
SelectOption option = super.newOption(text, model);
option.add(new AttributeModifier("data-icon", "flag-" + model.getObject().getFlag()));

return option;
Expand Down

0 comments on commit 5a75ff2

Please sign in to comment.