Commit 5766203a authored by Ryan Herbert's avatar Ryan Herbert
Browse files

autocomplete.js js add a comment for clarity

parent 498de309
......@@ -155,6 +155,7 @@ VidjilAutoComplete.prototype = {
var set_type = li.charAt(5)
// encapsulate the string_id's set_type token (:p, :r, :s) within a span
li = li.replace(li.substr(4,2),
function(str) {
return '<span class="autocomplete_li ' + mapper[set_type] + '">' + str + '</span>';
......
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