Skip to content

Commit a58ad19

Browse files
committed
Changed event for handling add-on initialization
1 parent 7874256 commit a58ad19

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

js/dataTables.checkboxes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
/*! Checkboxes 1.0.0
1+
/*! Checkboxes 1.0.1
22
* Copyright (c) Gyrocode (www.gyrocode.com)
33
* License: MIT License
44
*/
55

66
/**
77
* @summary Checkboxes
88
* @description Checkboxes extension for jQuery DataTables
9-
* @version 1.0.0
9+
* @version 1.0.1
1010
* @file dataTables.checkboxes.js
1111
* @author Gyrocode (http://www.gyrocode.com/projects/jquery-datatables-checkboxes/)
1212
* @contact http://www.gyrocode.com/contacts
@@ -646,7 +646,7 @@ $.fn.dataTable.Checkboxes = Checkboxes;
646646

647647
// Attach a listener to the document which listens for DataTables initialisation
648648
// events so we can automatically initialise
649-
$(document).on( 'init.dt.dtr', function (e, settings, json) {
649+
$(document).on( 'preInit.dt.dtr', function (e, settings, json) {
650650
if ( e.namespace !== 'dt' ) {
651651
return;
652652
}

0 commit comments

Comments
 (0)