Binding select plugin to multiple event types does not work as I think it should

Binding select plugin to multiple event types does not work as I think it should

gwalker_adgwalker_ad Posts: 1Questions: 1Answers: 0

Wanted to bind a single handler to both select and deselect

var tab = $().DataTable();
tab.on('select', function(e, dt, type, indexes) {... // works
tab.on('deselect', ... // works
tab.on('select deselect', ... // only the deselect event works
tab.on('deselect select', ... // only the select event works

datatables 1.10.12, select 1.2.0.

Work around is simple, but I think it should be fixed.

This discussion has been closed.