Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

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

Lines changed: 1 addition & 1 deletion
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)