fix minor bug on appdock contextmenu handling

This commit is contained in:
DanyLE 2022-12-16 21:26:55 +01:00 committed by Dany LE
parent 243dfa7a89
commit 303fc9ba20

View File

@ -347,6 +347,7 @@ namespace OS {
if (e.target === this) { if (e.target === this) {
return; return;
} }
m.hide();
const bt = ($(e.target).closest( const bt = ($(e.target).closest(
"afx-button" "afx-button"
)[0] as any) as ButtonTag; )[0] as any) as ButtonTag;