[DE PE SSE] Fix getting of isDesktopApp

This commit is contained in:
JuliaSvinareva 2022-08-23 12:57:19 +03:00
parent 39f5ce8539
commit db97a50ca5

View file

@ -112,9 +112,7 @@
if (!me.options.keepvisible && !me.options.hideonclick && me.tip().is(':visible'))
me.hide();
}});
Common.NotificationCenter.on('app:ready', function (mode) {
me.isDesktopApp = mode.isDesktopApp;
});
this.isDesktopApp = Common.Controllers.Desktop.isActive();
},
mousemove: function (e) {