summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
authoreric <e.marguin@agence-codecouleurs.fr>2014-07-10 15:22:59 +0200
committereric <e.marguin@agence-codecouleurs.fr>2014-07-10 15:22:59 +0200
commit0c26a1983f68235759edea7450fb6dd3c501b586 (patch)
tree58e0cf4ddc31ce8afc0af49f20d3af3f438d93f8 /jquery.multiple.select.js
parent3a2e85046e683c213dccd3138a72d2bbbf9161d6 (diff)
downloadmultiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.zip
multiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.tar.gz
multiple-select-0c26a1983f68235759edea7450fb6dd3c501b586.tar.bz2
little change for icheck compatibility
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r--jquery.multiple.select.js2
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());
});