Skip to content

Commit

Permalink
a7e148ff64c424bed3d6e86e91494357a9afba7c Fix: -api ready() could fi…
Browse files Browse the repository at this point in the history
…re multiple times if a table is destroyed and then recreated

DataTables/Responsive#132

Sync to source repo @a7e148ff64c424bed3d6e86e91494357a9afba7c
  • Loading branch information
dtbuild committed Sep 12, 2024
1 parent 210caef commit adbc60d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.1.6",
"last-sync": "f353db012effe3d5cf90195cf5b0b3036333bd52"
"last-sync": "a7e148ff64c424bed3d6e86e91494357a9afba7c"
}
2 changes: 1 addition & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -9709,7 +9709,7 @@
fn.call(this);
}
else {
this.on('init', function () {
this.on('init.dt.DT', function () {
fn.call(this);
});
}
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9656,7 +9656,7 @@ _api_register( 'ready()', function ( fn ) {
fn.call(this);
}
else {
this.on('init', function () {
this.on('init.dt.DT', function () {
fn.call(this);
});
}
Expand Down

0 comments on commit adbc60d

Please sign in to comment.