We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8674dfb + 9697d81 commit 1ebbc5cCopy full SHA for 1ebbc5c
js/dataTables.buttons.js
@@ -48,6 +48,11 @@ var _dtButtons = DataTable.ext.buttons;
48
*/
49
var Buttons = function( dt, config )
50
{
51
+ // If there is no config set it to an empty array
52
+ if ( typeof( config ) === 'undefined' ) {
53
+ config = {};
54
+ }
55
+
56
// Allow a boolean true for defaults
57
if ( config === true ) {
58
config = {};
0 commit comments