fix wrong jquery call method, replace toggle by trigger for handling events

This commit is contained in:
Ezequiel Bergamaschi
2014-03-17 02:14:41 -03:00
parent 2ab488bfa6
commit 3ea4d56604
3 changed files with 5 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ mindplot.NodeGraph = new Class({
fireEvent: function(type, event) {
var elem = this.get2DElement();
elem.toggle(type, event);
elem.trigger(type, event);
},
setMouseEventsEnabled : function(isEnabled) {