From b0dc9ba6372735708e34a42c81e20e29d44dbc76 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 23 Sep 2014 19:42:31 +0300 Subject: fix a #50 noticed error (introduced in af27835b) --- scripts/textanalysis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index a3694887..eb77d90f 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -19,7 +19,7 @@ function autoSuggestAddName(name) { /* note that name can contain spaces - this is ok. We might want to limit this though? */ if(name.split(" ").length > 1) { - sugg['"'+newnodes[n]+'"'] = 1; + sugg['"' + name + '"'] = 1; } else { sugg[name] = 1; } -- cgit v1.3.1