ignore case for user mention suggestion highlighting

This commit is contained in:
jomo
2014-09-22 09:09:43 +02:00
parent 0f0a5c42b9
commit b5c643f032

View File

@@ -316,7 +316,7 @@
}
var html = "";
var regEx = new RegExp("("+text.slice(1)+")");
var regEx = new RegExp("("+text.slice(1)+")", "i");
var taWidth = $(data.ta).width()-5;
var width = data.mode == "outter" ? "style='width:"+taWidth+"px;'" : "";
for( var i=0; i< list.length; i++ ){