diff options
author | lou <louiscuny@gmail.com> | 2011-08-24 20:01:12 +0200 |
---|---|---|
committer | lou <louiscuny@gmail.com> | 2011-08-24 20:01:12 +0200 |
commit | 6c3d1c521d09e10ba75613ba6be8ff2b7d9686a6 (patch) | |
tree | fde5f976993ece1d286509fe7f774089659d1c8f /js/jquery.multi-select.js | |
parent | db55f2c9d12867b7410cc6708e98f1b7aabb6970 (diff) | |
download | multi-select-6c3d1c521d09e10ba75613ba6be8ff2b7d9686a6.zip multi-select-6c3d1c521d09e10ba75613ba6be8ff2b7d9686a6.tar.gz multi-select-6c3d1c521d09e10ba75613ba6be8ff2b7d9686a6.tar.bz2 |
remove console.log
Diffstat (limited to 'js/jquery.multi-select.js')
-rw-r--r-- | js/jquery.multi-select.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index 556ea1a..a3adfc3 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -37,7 +37,7 @@ if ($(this).is('optgroup')){ currentOptgroup = $(this).attr('label'); selectableUl.append($('<li class="ms-optgroup-container" id="ms-optgroup-'+ - $(this).attr('label')+'"><ul class="ms-optroup"><li class="ms-optgroup-label">'+ + $(this).attr('label')+'"><ul class="ms-optgroup"><li class="ms-optgroup-label">'+ $(this).attr('label')+'</li></ul></li>')); } if ($(this).is("option:not(option[value=''])")){ @@ -52,9 +52,7 @@ selectableLi.click(function(){ ms.multiSelect('select', $(this).attr('ms-value')); }); - console.log(selectableUl.children('#ms-optgroup-'+currentOptgroup+' ul')); var container = currentOptgroup ? selectableUl.children('#ms-optgroup-'+currentOptgroup).find('ul').first() : selectableUl; - //console.log(container); container.append(selectableLi); } }); |