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

Commit e198404

Browse files
committed
Merge pull request #6 from adanielyan/master
target.classList to target.className.split(' ')
2 parents bae1ffe + da02867 commit e198404

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
@@ -159,7 +159,7 @@ directiveModule.directive('ngDropdownMultiselect', ['$filter', '$document', '$co
159159
var parentFound = false;
160160

161161
while (angular.isDefined(target) && target !== null && !parentFound) {
162-
if (_.contains(target.classList, 'multiselect-parent') && !parentFound) {
162+
if (_.contains(target.className.split(' '), 'multiselect-parent') && !parentFound) {
163163
parentFound = true;
164164
}
165165
target = target.parentElement;

0 commit comments

Comments
 (0)