other/typos in flowDb

This commit is contained in:
wfnuser 2019-12-24 12:57:55 +08:00
parent 1bc62cfba4
commit 4eedeebd46
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export const addVertex = function(_id, text, type, style, classes) {
if (typeof text !== 'undefined') {
txt = sanitize(text.trim());
// strip quotes if string starts and exnds with a quote
// strip quotes if string starts and ends with a quote
if (txt[0] === '"' && txt[txt.length - 1] === '"') {
txt = txt.substring(1, txt.length - 1);
}