Fix search query for vfsSelect search box

This commit is contained in:
Hadi Nategh 2019-10-16 13:10:25 +02:00
parent 10632f886d
commit 85496dddb3

View File

@ -331,7 +331,7 @@ app.classes.vfsSelectUI = (function(){ "use strict"; return AppJS.extend(
var searchQuery = function (_query)
{
var result = {};
var reg = RegExp("^"+_query, 'ig');
var reg = RegExp(_query, 'ig');
var key = 0;
for (var i in self.dirContent)
{