diff --git a/ghostwriter/static/js/tinymce/config.js b/ghostwriter/static/js/tinymce/config.js index 8327f0eed..584daf519 100644 --- a/ghostwriter/static/js/tinymce/config.js +++ b/ghostwriter/static/js/tinymce/config.js @@ -269,7 +269,7 @@ columns: 1, fetch: function (pattern) { var matchedChars = evidenceFiles.filter(function (quote) { - return quote.text.indexOf(pattern) !== -1; + return quote.text.toLowerCase().includes(pattern.toLowerCase()); }); return new tinymce.util.Promise(function (resolve) { var results = matchedChars.map(function (quote) {