Skip to content

Commit

Permalink
tie remove event directly
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Apr 15, 2021
1 parent 9833ed1 commit 817a3f4
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/index.js": "/index.js?id=2e55ab288c75c2a1b2ce"
"/index.js": "/index.js?id=9d91c2ef2918939d94d0"
}
4 changes: 2 additions & 2 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* vue-datatables-net
* Vue jQuery DataTables.net wrapper component
*
* @version v1.5.1
* @version v1.5.2
* @author [email protected]
* @repository https://github.com/niiknow/vue-datatables-net.git
*/
Expand Down Expand Up @@ -772,7 +772,7 @@ var myUniqueId = 1;
});
}

$el.find('#vdtnetable1_wrapper').on('remove', function () {
$el.on('remove', function () {
if (that.dataTable) {
that.dataTable.destroy(true);
}
Expand Down
2 changes: 1 addition & 1 deletion example/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/index.js": "/index.js?id=98012e669c8c525049fb"
"/index.js": "/index.js?id=d118ff72afc29d7f272d"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-datatables-net",
"description": "Vue jQuery DataTables.net wrapper component",
"version": "1.5.1",
"version": "1.5.2",
"author": "[email protected]",
"license": "MIT",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/VdtnetTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ export default {
})
}
$el.find('#vdtnetable1_wrapper').on('remove', () => {
$el.on('remove', () => {
if (that.dataTable) {
that.dataTable.destroy(true)
}
Expand Down

0 comments on commit 817a3f4

Please sign in to comment.