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

Commit b7d75e3

Browse files
committed
Update angular-datatables.instances.js
1 parent cbd2d43 commit b7d75e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/angular-datatables.instances.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ function dtInstances($q) {
2828
_lastDTInstance = dtInstance;
2929

3030
//previous promise
31-
_deferDTInstances.resolve(_instances);
31+
_deferDTInstances.resolve(_dtInstances);
3232
_deferLastDTInstance.resolve(_lastDTInstance);
3333

3434
//new promise
3535
_deferDTInstances = $q.defer();
3636
_deferLastDTInstance = $q.defer();
3737

38-
_deferDTInstances.resolve(_instances);
38+
_deferDTInstances.resolve(_dtInstances);
3939
_deferLastDTInstance.resolve(_lastDTInstance);
4040

4141
return dtInstance;

0 commit comments

Comments
 (0)