Skip to content

Commit

Permalink
Localize selectable filter widget options (#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao1 authored Nov 1, 2023
1 parent b2859cb commit 7e361c5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ var SingleFilterSelectionWidget = $n2.Class('SingleFilterSelectionWidget',{
};

var $option = $('<option>')
.text(label)
.text(_loc(label))
.val(choice.id)
.appendTo($selector);
};
Expand Down Expand Up @@ -637,7 +637,7 @@ var MultiFilterSelectionWidget = $n2.Class('MultiFilterSelectionWidget',{
return false;
});
$('<span>')
.text(label)
.text(_loc(label))
.appendTo($a);
};

Expand Down Expand Up @@ -1008,7 +1008,7 @@ var MultiFilterSelectionDropDownWidget = $n2.Class('MultiFilterSelectionDropDown
.appendTo($selectDiv);

$('<a>')
.text(label)
.text(_loc(label))
.attr('data-n2-choiceId',choiceId)
.appendTo($div)
.click(function(){
Expand Down

0 comments on commit 7e361c5

Please sign in to comment.