Skip to content

Commit

Permalink
9436314b69aff72152794985ab01da67394d23ee Fix: Javascript error when s…
Browse files Browse the repository at this point in the history
…howing fixed popover

https://datatables.net/forums/discussion/80469

cfe29419f30e926e0595fae5a8ab904dc02a8fd5 Merge branch 'master' of github.com:DataTables/Buttons

Sync to source repo @cfe29419f30e926e0595fae5a8ab904dc02a8fd5
  • Loading branch information
dtbuild committed Jan 20, 2025
1 parent e63ee3b commit 250af8d
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 @@ -25,5 +25,5 @@
],
"src-repo": "http://github.com/DataTables/Buttons",
"last-tag": "3.2.0",
"last-sync": "c1323a1e9ec7d9aa3de32839dde49229b09649ae"
"last-sync": "cfe29419f30e926e0595fae5a8ab904dc02a8fd5"
}
2 changes: 1 addition & 1 deletion js/dataTables.buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ $.extend(Buttons.prototype, {
hostButtonNode.attr('aria-expanded', 'true');

if (hostNode.parents('body')[0] !== document.body) {
hostNode = document.body.lastChild;
hostNode = $(document.body).children().last();
}

if (options.popoverTitle) {
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.buttons.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.buttons.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ $.extend(Buttons.prototype, {
hostButtonNode.attr('aria-expanded', 'true');

if (hostNode.parents('body')[0] !== document.body) {
hostNode = document.body.lastChild;
hostNode = $(document.body).children().last();
}

if (options.popoverTitle) {
Expand Down

0 comments on commit 250af8d

Please sign in to comment.