Skip to content

Commit

Permalink
Fix selector for the select element in the multi item selector widget
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Sep 26, 2024
1 parent 0a39dc1 commit b9f5b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/base/static/js/multiple_item_selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $(function () {
*/
function updateSelectedItems(element) {
const widget = $(element).parents('.multiple-item-selector');
const selectElement = widget.parent().find('select');
const selectElement = widget.find('select');
const selectedItems = widget
.find('.item.selected li[data-id]')
.map(function () {
Expand Down

0 comments on commit b9f5b0a

Please sign in to comment.