Merge pull request #1161 from wfnuser/fix/typos-in-flowDb

Error typos in flowDb
This commit is contained in:
Christian Klemm 2019-12-26 16:26:02 +01:00 committed by GitHub
commit 5d7ef149aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}