Skip to content

Commit 113323c

Browse files
committed
Correct Error $compile:nonassign
1 parent df833a8 commit 113323c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/angular-datatables.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function dataTable($q, $http, DTRendererFactory, DTRendererService, DTPropertyUt
129129
function _setDTInstance(dtInstance) {
130130
if (angular.isFunction($scope.dtInstance)) {
131131
$scope.dtInstance(dtInstance);
132-
} else {
132+
} else if (angular.isDefined($scope.dtInstance)) {
133133
$scope.dtInstance = dtInstance;
134134
}
135135
}

0 commit comments

Comments
 (0)