Commit caa12a6a authored by Mathieu Giraud's avatar Mathieu Giraud

js/autocomplete.js: no template litteral, we are es5.

See #2804.
parent f73ad839
Pipeline #10748 failed with stages
in 4 minutes and 9 seconds
......@@ -138,7 +138,7 @@ VidjilAutoComplete.prototype = {
};
callbacks.matcher = function(flag, subtext) {
var regex = new RegExp(`[\\s\\S]+`);
var regex = new RegExp("[\\s\\S]+");
var match = regex.exec(subtext);
if (match) {
return match[0];
......
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