Skip to content

Commit 99aad7d

Browse files
committed
Remove debug messages
1 parent 096f430 commit 99aad7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
},
1010
hooks: {
1111
init: async function () {
12-
console.warn("Starting Datatables plugin...");
12+
1313
},
1414
"page": function(page) {
1515
// Inspect page contents and initialize all tables that carry the datatables class
@@ -21,7 +21,6 @@ module.exports = {
2121
console.debug("Processing table "+index);
2222
if ( $(this).attr('id') === undefined ){
2323
$(this).attr('id',`datatable-${crypto.randomBytes(16).toString('base64').substring(0, 16)}`);
24-
console.warn("Set table "+index+" id to "+$(this).attr('id'));
2524
}
2625
$(this).attr("data-dt-process", "true");
2726
});

0 commit comments

Comments
 (0)