Skip to content

Commit cfcea82

Browse files
committed
fix event listening
1 parent c1f0330 commit cfcea82

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

dist/build.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/build.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vue-datatables-net.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/vue-datatables-net.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-datatables-net",
33
"description": "Vue jQuery DataTable.net wrapper component ",
4-
"version": "0.7.3",
4+
"version": "0.7.4",
55
"author": "[email protected]",
66
"license": "MIT",
77
"main": "lib/vue-datatables-net.min.js",

src/VdtnetTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
118118
// wire up view, edit, and/or delete button
119119
// var d = table.row( this ).data();
120-
$el.find('[data-action]').on('click', (e) => {
120+
$el.on('click', 'tbody > tr [data-action]', (e) => {
121121
e.preventDefault()
122122
e.stopPropagation()
123123
const $this = $(this)

0 commit comments

Comments
 (0)