Skip to content

Commit

Permalink
#344 reverted equal scores for regular selectize fields
Browse files Browse the repository at this point in the history
  • Loading branch information
d.choban committed Mar 6, 2019
1 parent 6428fe2 commit f73b480
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions arctic/static/arctic/src/assets/js/components/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ $(document).ready(function() {
if ($(instance).next().find('.item').length == 0) {
$(instance).next().next().removeAttr('style');
}
},
// Selectize reoders search results to find best match.
// But we wan't to keep original order by default
score: function() {
return function() { return 1 };
}
});
});
Expand All @@ -88,11 +83,6 @@ $(document).ready(function() {
value: input,
text: input
}
},
// Selectize reoders search results to find best match.
// But we wan't to keep original order by default
score: function() {
return function() { return 1 };
}
});
});
Expand Down

0 comments on commit f73b480

Please sign in to comment.