Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

Commit bbdcbd2

Browse files
committed
Merge branch 'Fix-1.1.0'
2 parents d393e8a + deb44a1 commit bbdcbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angularjs-dropdown-multiselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
190190
var parentFound = false;
191191

192192
while (angular.isDefined(target) && target !== null && !parentFound) {
193-
if (contains(target.className.split(' '), 'multiselect-parent') && !parentFound) {
193+
if (!!target.className.split && contains(target.className.split(' '), 'multiselect-parent') && !parentFound) {
194194
if(target === $dropdownTrigger) {
195195
parentFound = true;
196196
}

0 commit comments

Comments
 (0)