From db97a50ca56d935c3f1504f11254801070d1d731 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 23 Aug 2022 12:57:19 +0300 Subject: [PATCH] [DE PE SSE] Fix getting of isDesktopApp --- apps/common/main/lib/util/Tip.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/common/main/lib/util/Tip.js b/apps/common/main/lib/util/Tip.js index f360ea948..4d9c496be 100644 --- a/apps/common/main/lib/util/Tip.js +++ b/apps/common/main/lib/util/Tip.js @@ -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) {