From 88c9472f025b2ea18cd8256af00530a113b82cbe Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 수, 15 12월 2021 18:51:30 +0900 Subject: [PATCH] 푸쉬 테스트 --- src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js b/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js index 8223853..8680c81 100644 --- a/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js +++ b/src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js @@ -100,7 +100,11 @@ var target = e.target.parentElement; var parentFound = false; - while (angular.isDefined(target) && target !== null && !parentFound) { + while (angular.isDefined(target) && target !== null && !parentFound && target.className !== null) { + if (typeof target.className.split != 'function') { + break; + } + if (_.contains(target.className.split(' '), 'multiselect-parent') && !parentFound) { if (target === $dropdownTrigger) { parentFound = true; -- Gitblit v1.8.0