- Bug Cannot call method 'trim' of undefined, line:2255 fixed.
This commit is contained in:
@@ -468,7 +468,7 @@ mindplot.Topic = new Class({
|
||||
|
||||
setText:function (text) {
|
||||
// Avoid empty nodes ...
|
||||
if (text.trim().length == 0) {
|
||||
if (!text || text.trim().length == 0) {
|
||||
text = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user