Fixes 267, Functions without params (like integral) now causes graph to update correctly
This commit is contained in:
@@ -234,7 +234,7 @@ function (angular, _, config, gfunc, Parser) {
|
||||
$scope.moveAliasFuncLast();
|
||||
$scope.smartlyHandleNewAliasByNode(newFunc);
|
||||
|
||||
if (!funcDef.params && newFunc.added) {
|
||||
if (!funcDef.params.length && newFunc.added) {
|
||||
$scope.targetChanged();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user