diff options
author | eric <e.marguin@agence-codecouleurs.fr> | 2014-07-10 15:22:59 +0200 |
---|---|---|
committer | eric <e.marguin@agence-codecouleurs.fr> | 2014-07-10 15:22:59 +0200 |
commit | 0c26a1983f68235759edea7450fb6dd3c501b586 (patch) | |
tree | 58e0cf4ddc31ce8afc0af49f20d3af3f438d93f8 | |
parent | 3a2e85046e683c213dccd3138a72d2bbbf9161d6 (diff) | |
download | multiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.zip multiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.tar.gz multiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.tar.bz2 |
little change for icheck compatibility
-rw-r--r-- | jquery.multiple.select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js index 14db7d9..c1f6834 100644 --- a/jquery.multiple.select.js +++ b/jquery.multiple.select.js @@ -355,7 +355,7 @@ texts = [], values = []; this.$drop.find('input[' + this.selectItemName + ']:checked').each(function () { - texts.push($(this).parent().text()); + texts.push($(this).parents('li').first().text()); values.push($(this).val()); }); |