diff options
| author | Alon Levy <alon@pobox.com> | 2014-09-23 19:42:31 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-23 19:42:31 +0300 |
| commit | b0dc9ba6372735708e34a42c81e20e29d44dbc76 (patch) | |
| tree | 17ff6a36ef02854b2abb3d900dd9592b2fc3ed9a /scripts/textanalysis.js | |
| parent | d63c15c092cb74499ba25b884a12dc00bf80aaf6 (diff) | |
fix a #50 noticed error (introduced in af27835b)
Diffstat (limited to 'scripts/textanalysis.js')
| -rw-r--r-- | scripts/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
