Skip to content

Commit

Permalink
now its not so sucky slow, lets query class names if 2 characters are…
Browse files Browse the repository at this point in the history
… typed #383
  • Loading branch information
jstrachan committed Jul 15, 2013
1 parent f7027aa commit 88c3846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/wiki/js/dozerMappings.ts
Expand Up @@ -252,7 +252,7 @@ module Wiki {

$scope.classNames = (text) => {
// lets only query if the size is reasonable
if (!text || text.length < 3) return [];
if (!text || text.length < 2) return [];
return Core.time("Time the query of classes", () => {
console.log("searching for class names with filter '" + text + "'");
var answer = Dozer.findClassNames(workspace, text);
Expand Down

0 comments on commit 88c3846

Please sign in to comment.