mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
Minor fix.
This commit is contained in:
parent
b9ff7f9c03
commit
d114df74f6
@ -158,6 +158,7 @@ mindplot.MindmapDesigner = new Class({
|
|||||||
var targetTopicModel = model.getParent();
|
var targetTopicModel = model.getParent();
|
||||||
var targetTopic = null;
|
var targetTopic = null;
|
||||||
|
|
||||||
|
var topics = this.getModel.getTopics();
|
||||||
for (var i = 0; i < topics.length; i++) {
|
for (var i = 0; i < topics.length; i++) {
|
||||||
var t = topics[i];
|
var t = topics[i];
|
||||||
if (t.getModel() == targetTopicModel) {
|
if (t.getModel() == targetTopicModel) {
|
||||||
@ -209,7 +210,6 @@ mindplot.MindmapDesigner = new Class({
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
zoomOut : function(factor) {
|
zoomOut : function(factor) {
|
||||||
if (!factor)
|
if (!factor)
|
||||||
factor = 1.2;
|
factor = 1.2;
|
||||||
|
Loading…
Reference in New Issue
Block a user