We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c027f75 + d65ada9 commit d3695f9Copy full SHA for d3695f9
1 file changed
dev/pickout.js
@@ -347,7 +347,7 @@ var pickout = (function(){
347
348
// Title Option Group
349
if (!!data.optGroup) {
350
- var optCreated = _.$('li[data-opt-group='+data.optGroup.label+']', main);
+ var optCreated = _.$('li[data-opt-group='+data.optGroup.label.replace(/\s/g,'')+']', main);
351
352
// Created if not exists
353
if (!optCreated) {
@@ -666,4 +666,4 @@ var pickout = (function(){
666
667
if (typeof module !== 'undefined' && module.exports) {
668
module.exports = pickout;
669
-}
+}
0 commit comments