diff --git a/dist/dual-list-box.js b/dist/dual-list-box.js index 5fdf03f..5a8ddfd 100644 --- a/dist/dual-list-box.js +++ b/dist/dual-list-box.js @@ -58,7 +58,7 @@ if (item === undefined || item === null) { throw 'DualListBox: ' + i + ' is undefined.'; } }); - options['parent'] = 'dual-list-box-' + options.title; + options['parent'] = 'dual-list-box-' + options.title.replace(/ /g, '_'); options['parentElement'] = '#' + options.parent; selected = $.extend([{}], selected);