Skip to content
Permalink
Browse files

Fix: Initialisation when specifying a `select` option will always def…

…ault to `style: 'os'` now if no style option is specified. 'api' is still the default is `select` is not defined.

- DD-271
  • Loading branch information...
Allan Jardine
Allan Jardine committed Mar 8, 2019
1 parent a2025de commit 1447990616e7b9f36bd8d564ce2073b507107a03
Showing with 4 additions and 0 deletions.
  1. +4 −0 js/dataTables.select.js
@@ -101,6 +101,10 @@ DataTable.select.init = function ( dt ) {
style = opts.style;
setStyle = true;
}
else {
style = 'os';
setStyle = true;
}

if ( opts.selector !== undefined ) {
selector = opts.selector;

0 comments on commit 1447990

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