|
@@ -192,8 +192,8 @@
|
|
|
.on('mousedown.stag-suggest-outer-click', function (_e) {
|
|
|
let elem = $(_e.target);
|
|
|
if(!elem.is('.stag-suggestions-container') && !elem.closest('.stag-suggestions-container').length) {
|
|
|
- if($('.suggestions-outer:not(.d-none)').length) {
|
|
|
- $('.suggestions-outer').addClass('d-none');
|
|
|
+ if($('.stag-suggestions-container .suggestions-outer:not(.d-none)').length) {
|
|
|
+ $('.stag-suggestions-container .suggestions-outer').addClass('d-none');
|
|
|
return false;
|
|
|
}
|
|
|
}
|