From 491455286747cb100caee9ca12d9b5a94077b85e Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 화, 18 1월 2022 10:07:11 +0900 Subject: [PATCH] 이슈 추가/수정 시 ISP, 호스팅 이름 못 불러오는 문제 해결 (custom-input) --- src/main/webapp/custom_components/js-autocomplete-multi/js-autocomplete-multi.js | 4 ++-- 1 files changed, 2 insertions(+), 2 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..4781931 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,8 +100,8 @@ var target = e.target.parentElement; var parentFound = false; - while (angular.isDefined(target) && target !== null && !parentFound) { - if (_.contains(target.className.split(' '), 'multiselect-parent') && !parentFound) { + while (angular.isDefined(target) && target !== null && !parentFound && target.className !== null) { + if (target.getElementsByClassName('multiselect-parent') && !parentFound) { if (target === $dropdownTrigger) { parentFound = true; } -- Gitblit v1.8.0