summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
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 8fa8f17..3610d93 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -387,7 +387,7 @@
}
this.$selectAll.prop('checked', $items.length &&
$items.length === $items.filter(':checked').length);
- if (this.$selectAll.prop('checked')) {
+ if (!isInit && this.$selectAll.prop('checked')) {
this.options.onCheckAll();
}
},