diff --git a/controllers/controller.function.js b/controllers/controller.function.js index ee0b831..94e5427 100644 --- a/controllers/controller.function.js +++ b/controllers/controller.function.js @@ -20,10 +20,10 @@ GUI.FunctionController = function() { } this.fire = function() { + _this.object[_this.propertyName].call(_this.object); if (fireFunction != null) { fireFunction.call(this); } - _this.object[_this.propertyName].call(_this.object); }; };