mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
- Bug Cannot call method 'trim' of undefined, line:2255 fixed.
This commit is contained in:
parent
8d9fb53741
commit
c950e68a27
@ -468,7 +468,7 @@ mindplot.Topic = new Class({
|
|||||||
|
|
||||||
setText:function (text) {
|
setText:function (text) {
|
||||||
// Avoid empty nodes ...
|
// Avoid empty nodes ...
|
||||||
if (text.trim().length == 0) {
|
if (!text || text.trim().length == 0) {
|
||||||
text = null;
|
text = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user