From 124438a1c066446e078d7165e37ebf6d0834ac23 Mon Sep 17 00:00:00 2001 From: Owen Date: Wed, 13 Aug 2014 18:52:11 +0300 Subject: Issue #40 --- scripts/textanalysis.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 8a591460..e38422d8 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -95,6 +95,7 @@ function textSelect(inp, s, e) { } function changeType(arg, id) { + if(!id)id="new node"; if (arg === 'up') { if (typeindex < 4) typeindex++; else typeindex = 0; -- cgit v1.3.1