Clean up code

This commit is contained in:
DanyLE 2023-01-06 21:47:18 +01:00 committed by Dany LE
parent cb9ccb576f
commit bf793ec204

View File

@ -438,7 +438,6 @@ namespace OS {
const systray = this.refs.systray as GUI.tag.ButtonTag;
(this.refs.osmenu as ButtonTag).set(this._osmenu);
this._cb = (e) => {
console.log("Clicked");
if (
!$(e.target).closest($(this.refs.overlay)).length &&
!$(e.target).closest(this.refs.osmenu).length