Commit 39711fe2 authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files

autocomplete.js fix tag duplicate filtering

Apparently returning the result of an indexOf in the filter callback
doesn't correctly evaluate to true or false... This seems to work
parent 31305e8a
......@@ -210,7 +210,7 @@ VidjilAutoComplete.prototype = {
if (res < 0) {
return res;
return res < 0;
$input.atwho('load', at, loaded_data);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment