mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[evaluation-plugin] LME-99 Don't close popup in the report by clicking on it
GitOrigin-RevId: 47dc9d1581f54e4b133fe99a551c21855465a290
This commit is contained in:
committed by
intellij-monorepo-bot
parent
715bcbaee1
commit
5616563771
@@ -14,6 +14,7 @@ document.addEventListener("click", function (e) {
|
||||
}
|
||||
const suggestionDiv = e.target.closest(".suggestion")
|
||||
const featureValueDiv = e.target.closest(".feature-value")
|
||||
const popupDiv = e.target.closest(".autocomplete-items")
|
||||
if (featureValueDiv != null) {
|
||||
e.stopPropagation()
|
||||
if (e.target.classList.contains("favorite-button")) {
|
||||
@@ -31,7 +32,7 @@ document.addEventListener("click", function (e) {
|
||||
else if (suggestionDiv != null) {
|
||||
updateElementFeatures(suggestionDiv)
|
||||
}
|
||||
else {
|
||||
else if (popupDiv == null) {
|
||||
closeAllLists()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user