Skip to content

Commit

Permalink
[frontend] Fix option name for autocompletion widget
Browse files Browse the repository at this point in the history
The `minLength` option was written incorrectly. This caused that the
autocompletion was using the default, 1 instead of 2 characters before
starting the auto complete.

https://api.jqueryui.com/autocomplete/#option-minLength
  • Loading branch information
bgeuken committed Feb 23, 2018
1 parent f73ff1d commit 2cbdb51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function requestAddReviewAutocomplete() {
response: function(event, ui) {
$(this).removeClass('loading-spinner');
},
min_length: 2,
minLength: 2,
minChars: 0,
matchCase: true,
max: 50
Expand Down

0 comments on commit 2cbdb51

Please sign in to comment.