From 84f47316dd544c39d52d08a5c3df24dca6ca5fca Mon Sep 17 00:00:00 2001 From: Justin Strawther Date: Mon, 4 Jun 2018 11:26:14 -0800 Subject: [PATCH] Exclude .multiselect-item.divider from $options when determining optGroup.checked --- dist/js/bootstrap-multiselect.js | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/js/bootstrap-multiselect.js b/dist/js/bootstrap-multiselect.js index 2a028b77..a6897525 100644 --- a/dist/js/bootstrap-multiselect.js +++ b/dist/js/bootstrap-multiselect.js @@ -1614,6 +1614,7 @@ $groups.each(function() { var $options = $(this).nextUntil('li.multiselect-group') .not('.multiselect-filter-hidden') + .not('.multiselect-item.divider') .not('.disabled'); var checked = true;