Skip to content
Browse files

Fix: Programmatically triggering a click event to select a row would …

…not work until the DataTables container had been clicked on somewhere by the end user.
  • Loading branch information...
Allan Jardine
Allan Jardine committed Nov 1, 2018
1 parent 07aecd3 commit b4c4b36aa2eb3243807a68d45094c9dca82d13da
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/
@@ -353,7 +353,7 @@ function enableMouseSelection ( dt )

// If text was selected (click and drag), then we shouldn't change
// the row's selected state
if ( window.getSelection ) {
if ( matchSelection ) {
var selection = window.getSelection();

// If the element that contains the selection is not in the table, we can ignore it

0 comments on commit b4c4b36

Please sign in to comment.
You can’t perform that action at this time.