Skip to content

Commit

Permalink
d145c8bc5c29bf3931bdbd7deca9d875d085d865
Browse files Browse the repository at this point in the history
Sync to source repo @d145c8bc5c29bf3931bdb7deca9d875d085d865
  • Loading branch information
AllanJard committed Nov 15, 2022
1 parent 73a862f commit ac198d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
],
"src-repo": "http://github.com/DataTables/Buttons",
"last-tag": "2.3.2",
"last-sync": "d145c8bc5c29bf3931bdbd7deca9d875d085d865"
"last-sync": "d145c8bc5c29bf3931bdb7deca9d875d085d865"
}
3 changes: 1 addition & 2 deletions js/buttons.bootstrap4.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@
require('datatables.net-bs4')(root, $);
}

if ( ! $.fn.dataTable ) {
if ( ! $.fn.dataTable.Buttons ) {
require('datatables.net-buttons')(root, $);
}


return factory( $, root, root.document );
};
}
Expand Down
2 changes: 1 addition & 1 deletion js/buttons.bootstrap4.min.js

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

2 changes: 1 addition & 1 deletion js/buttons.bootstrap4.min.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Bootstrap integration for DataTables' Buttons
* ©2016 SpryMedia Ltd - datatables.net/license
*/
import $ from"jquery";import DataTable from"datatables.net-bs4";import"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"},button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",closeButton:!1,button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group",closeButton:!1},splitDropdown:{tag:"button",text:"",className:"btn btn-secondary dt-btn-split-drop dropdown-toggle dropdown-toggle-split",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-secondary",closeButton:!1}},buttonCreated:function(t,o){return t.buttons?$('<div class="btn-group"/>').append(o):o}}),DataTable.ext.buttons.collection.className+=" dropdown-toggle",DataTable.ext.buttons.collection.rightAlignClassName="dropdown-menu-right";export default DataTable;
import $ from"jquery";import DataTable from"datatables.net-bs4";import Buttons from"datatables.net-buttons";$.extend(!0,DataTable.Buttons.defaults,{dom:{container:{className:"dt-buttons btn-group flex-wrap"},button:{className:"btn btn-secondary"},collection:{tag:"div",className:"dropdown-menu",closeButton:!1,button:{tag:"a",className:"dt-button dropdown-item",active:"active",disabled:"disabled"}},splitWrapper:{tag:"div",className:"dt-btn-split-wrapper btn-group",closeButton:!1},splitDropdown:{tag:"button",text:"",className:"btn btn-secondary dt-btn-split-drop dropdown-toggle dropdown-toggle-split",closeButton:!1,align:"split-left",splitAlignClass:"dt-button-split-left"},splitDropdownButton:{tag:"button",className:"dt-btn-split-drop-button btn btn-secondary",closeButton:!1}},buttonCreated:function(t,o){return t.buttons?$('<div class="btn-group"/>').append(o):o}}),DataTable.ext.buttons.collection.className+=" dropdown-toggle",DataTable.ext.buttons.collection.rightAlignClassName="dropdown-menu-right";export default DataTable;
2 changes: 1 addition & 1 deletion js/buttons.bootstrap4.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import $ from 'jquery';
import DataTable from 'datatables.net-bs4';
import 'datatables.net-buttons';
import Buttons from 'datatables.net-buttons';



Expand Down

0 comments on commit ac198d4

Please sign in to comment.