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

Commit 852503b

Browse files
committed
Correct DefaultRenderer
1 parent 3c3a023 commit 852503b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/angular-datatables.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,10 @@
417417
return {
418418
options: options,
419419
render: function ($scope, $elem) {
420+
var _this = this;
420421
// Add $timeout to be sure that angular has finished rendering before calling datatables
421422
$timeout(function () {
422-
_doRenderDataTable($elem, this.options, $scope);
423+
_doRenderDataTable($elem, _this.options, $scope);
423424
}, 0, false);
424425
}
425426
};

0 commit comments

Comments
 (0)